Test fixtures changed to pointers.
authorPauli <paul.dale@oracle.com>
Wed, 2 Aug 2017 03:48:29 +0000 (13:48 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 3 Aug 2017 21:37:21 +0000 (07:37 +1000)
commit2326bba0e5cbe98f4d00855a6909b1f14b6f5427
tree70000f14b8108fccf5f6cc02086845c12c3becee
parentfbf9d108dfca2f578594c1f00bd9dbd2adca7505
Test fixtures changed to pointers.

Change the fixture types to pointers to structures that are heap allocated in the tests that use SETUP_TEST_FIXTURE.  This will permit error returns from the setup function and allow for future running tests in parallel.

Also removed a call of `exit(2)` which allows the remaining tests to run if one fails to initialise.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4071)
test/cipherlist_test.c
test/ct_test.c
test/ssl_test_ctx_test.c