openssl/test/testutil
Matt Caswell 8d242823ed Fix common test framework options
PR#6975 added the ability to our test framework to have common options to
all tests. For example providing the option "-test 5" to one of our test
programs will just run test number 5. This can be useful when debugging
tests.

Unforuntately this does not work well for a number of tests. In particular
those tests that call test_get_argument() without first skipping over these
common test options will not get the expected value. Some tests did this
correctly but a large number did not.

A helper function is introduced, test_skip_common_options(), to make this
easier for those tests which do not have their own specialised test option
handling, but yet still need to call test_get_argument(). This function
call is then added to all those tests that need it.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10975)
2020-02-03 11:41:56 +00:00
..
apps_mem.c
basic_output.c
cb.c
driver.c Deprecate most of debug-memory 2019-12-14 20:57:35 +01:00
format_output.c
main.c
options.c Fix common test framework options 2020-02-03 11:41:56 +00:00
output_helpers.c
output.h
random.c
stanza.c
tap_bio.c
test_cleanup.c
test_options.c
tests.c
testutil_init.c testutil_init.c: fix compilation error with enable-trace 2020-01-10 13:28:48 +10:00
tu_local.h