diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-12-31 11:01:40 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-12-31 18:51:15 +0100 |
commit | f47ae5186624e5bb3a2d2b25be742b90a1eee3cd (patch) | |
tree | b479133044166a9bd6dfd0f225376218c1c22222 /support/tst-support_record_failure.c | |
parent | 039c5a05cc905e3d48392e7ea9f85e339b7c068b (diff) |
support: Implement --verbose option for test programs
Some tests can produce rather verbose tracing information,
and the --verbose option provides a standardized way to enable
such logging output.
Diffstat (limited to 'support/tst-support_record_failure.c')
-rw-r--r-- | support/tst-support_record_failure.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/tst-support_record_failure.c b/support/tst-support_record_failure.c index a999f7075c..75dd10f1c5 100644 --- a/support/tst-support_record_failure.c +++ b/support/tst-support_record_failure.c @@ -106,6 +106,8 @@ do_test (void) if (test_verify) { TEST_VERIFY (false); + if (test_verbose) + printf ("info: execution passed failed TEST_VERIFY\n"); return 2; /* Expected exit status. */ } if (test_verify_exit) |