Home GnuPG
Diffusion GnuPG 2a7615c48ed7

tests: Log and display output from tests when run in parallel.
2a7615c48ed7Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tests: Log and display output from tests when run in parallel.

* tests/openpgp/run-tests.scm (test): Add field 'logfd'.
(test::new, test::set-*): Adapt accordingly.
(test::set-logfd): New function.
(test::open-log-file): Likewise.
(test::run-sync): Use the new function.
(test::run-async): Likewise.
(test::report): Replay the log.
(run-tests-parallel): Reverse the results to restore the original
order.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 8 2016, 3:54 PM
Parents
rG4dd4801bfa4c: tests: Simplify test.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG2a7615c48ed7: tests: Log and display output from tests when run in parallel. (authored by Justus Winter <justus@g10code.com>).Nov 8 2016, 4:03 PM