openssl/test/testutil
Pauli ad887416f1 Update the test framework so that the need for test_main is removed. Everything
that needed test_main now works using the same infrastructure as tests that used
register_tests.

This meant:
* renaming register_tests to setup_tests and giving it a success/failure return.
* renaming the init_test function to setup_test_framework.
* renaming the finish_test function to pulldown_test_framework.
* adding a user provided global_init function that runs before the test frame
    work is initialised.  It returns a failure indication that stops the stest.
* adding helper functions that permit tests to access their command line args.
* spliting the BIO initialisation and finalisation out from the test setup and
    teardown.
* hiding some of the now test internal functions.
* fix the comments in testutil.h

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3953)
2017-07-27 07:53:08 +10:00
..
basic_output.c Fix a memory leak in the new TAP filter BIO 2017-06-23 20:30:27 +01:00
cb.c TAP line filter BIO. 2017-06-22 09:35:08 +10:00
driver.c Update the test framework so that the need for test_main is removed. Everything 2017-07-27 07:53:08 +10:00
format_output.c TAP line filter BIO. 2017-06-22 09:35:08 +10:00
init.c Update the test framework so that the need for test_main is removed. Everything 2017-07-27 07:53:08 +10:00
main.c Update the test framework so that the need for test_main is removed. Everything 2017-07-27 07:53:08 +10:00
output.h testutil: Remove test_puts_std{out,err}, they are superfluous 2017-04-28 15:59:46 +02:00
output_helpers.c testutil: Add commodity printing functions test_printf_std{out,err} 2017-04-28 15:59:46 +02:00
stanza.c Update the test framework so that the need for test_main is removed. Everything 2017-07-27 07:53:08 +10:00
tap_bio.c Remove trailing blanks. 2017-07-14 07:36:26 +10:00
test_cleanup.c Update the test framework so that the need for test_main is removed. Everything 2017-07-27 07:53:08 +10:00
tests.c TAP line filter BIO. 2017-06-22 09:35:08 +10:00
tu_local.h Update the test framework so that the need for test_main is removed. Everything 2017-07-27 07:53:08 +10:00