Fixes for disabling the crypt test and benchmark. Added new "./configure --disable-crypttests" option. Also made sure use of both NO_CRYPT_BENCHMARK and NO_CRYPT_TEST in "./configure CFLAGS=-D" scenario work correctly.

This commit is contained in:
David Garske
2016-02-04 12:06:24 -08:00
parent bf1af39027
commit be4c400d16
6 changed files with 22 additions and 3 deletions

View File

@@ -110,10 +110,12 @@ int testsuite_test(int argc, char** argv)
server_args.signal = &ready;
InitTcpReady(&ready);
#ifndef NO_CRYPT_TEST
/* wc_ test */
wolfcrypt_test(&server_args);
if (server_args.return_code != 0) return server_args.return_code;
#endif
/* Simple wolfSSL client server test */
simple_test(&server_args);
if (server_args.return_code != 0) return server_args.return_code;