Merge pull request #9204 from gojimmypi/pr-test-order

Change test order: random_test after SHA tests
This commit is contained in:
JacobBarthelmeh
2025-09-17 10:43:30 -06:00
committed by GitHub

View File

@@ -1706,13 +1706,6 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
TEST_PASS("asn test passed!\n");
#endif
#ifndef WC_NO_RNG
if ( (ret = random_test()) != 0)
TEST_FAIL("RANDOM test failed!\n", ret);
else
TEST_PASS("RANDOM test passed!\n");
#endif /* WC_NO_RNG */
#ifndef NO_MD5
if ( (ret = md5_test()) != 0)
TEST_FAIL("MD5 test failed!\n", ret);
@@ -1797,6 +1790,13 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
TEST_PASS("SHA-3 test passed!\n");
#endif
#ifndef WC_NO_RNG
if ((ret = random_test()) != 0)
TEST_FAIL("RANDOM test failed!\n", ret);
else
TEST_PASS("RANDOM test passed!\n");
#endif /* WC_NO_RNG */
#ifdef WOLFSSL_SHAKE128
if ( (ret = shake128_test()) != 0)
TEST_FAIL("SHAKE128 test failed!\n", ret);