diff options
author | Justus Winter <[email protected]> | 2017-05-04 13:12:49 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-05-04 13:22:52 +0000 |
commit | d6b46462f8c5c705ffb7cf8af03465a926aa11d3 (patch) | |
tree | 3831110bbeac5ff8d53b0fa779fedfb66657cc52 /g10/parse-packet.c | |
parent | tests: Add function to dump packets. (diff) | |
download | gnupg-d6b46462f8c5c705ffb7cf8af03465a926aa11d3.tar.gz gnupg-d6b46462f8c5c705ffb7cf8af03465a926aa11d3.zip |
tests: Support tests that are expected to fail.
* tests/gpgscm/tests.scm (test-pool): Rework reporting. Filter using
the computed test status instead of the return value. Also print the
new categories 'failed expectedly' and 'passed unexpectedly'.
(test): If a test ends with a bang (!), it is expected to fail. Adapt
status, status-string, and xml accordingly.
--
Allow tests to be marked as being expected to fail by appending a bang
(!) to the tests name. If such a test fails, it will not be counted
as failure, but will still be prominently displayed in the report. If
it succeeds unexpectedly, this is counted as a failure.
Fixes T3134.
GnuPG-bug-id: 3134
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions