summaryrefslogtreecommitdiffstats
path: root/test/gmdifftest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-04-19 10:34:54 +0200
committerRichard Levitte <levitte@openssl.org>2017-04-25 15:43:04 +0200
commit208d721a004026b128dc66300e32e65a9dc7df1d (patch)
treecd95d9de87063bb4040ce438414d77518467a2f8 /test/gmdifftest.c
parent65d62488b8c808350f440d2276034f5223b391ad (diff)
TAPify testutil
With the perl test framework comes the output format TAP (Test Anything Protocol, see http://testanything.org/) with extra extension for subtests. This change extends that same output format to any test program using testutil. In this implementation, each test program is seen as a full test that can be used as a subtest. The perl framework passes on the subtest level to the test programs with the environment variable HARNESS_OSSL_LEVEL. Furthermore, and series of tests added with ADD_ALL_TESTS is regarded as another subtest level. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3296)
Diffstat (limited to 'test/gmdifftest.c')
-rw-r--r--test/gmdifftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gmdifftest.c b/test/gmdifftest.c
index 1d508c0c7c..6869300f3e 100644
--- a/test/gmdifftest.c
+++ b/test/gmdifftest.c
@@ -60,5 +60,5 @@ void register_tests(void)
if (sizeof(time_t) < 8)
TEST_info("Skipping; time_t is less than 64-bits");
else
- ADD_ALL_TESTS(test_gmtime, 1000000);
+ ADD_ALL_TESTS_NOSUBTEST(test_gmtime, 1000000);
}