Skip to content

Commit b8b35e2

Browse files
Merge pull request #9204 from gojimmypi/pr-test-order
Change test order: random_test after SHA tests
2 parents 377d238 + 1520758 commit b8b35e2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

wolfcrypt/test/test.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,13 +1706,6 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
17061706
TEST_PASS("asn test passed!\n");
17071707
#endif
17081708

1709-
#ifndef WC_NO_RNG
1710-
if ( (ret = random_test()) != 0)
1711-
TEST_FAIL("RANDOM test failed!\n", ret);
1712-
else
1713-
TEST_PASS("RANDOM test passed!\n");
1714-
#endif /* WC_NO_RNG */
1715-
17161709
#ifndef NO_MD5
17171710
if ( (ret = md5_test()) != 0)
17181711
TEST_FAIL("MD5 test failed!\n", ret);
@@ -1797,6 +1790,13 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
17971790
TEST_PASS("SHA-3 test passed!\n");
17981791
#endif
17991792

1793+
#ifndef WC_NO_RNG
1794+
if ((ret = random_test()) != 0)
1795+
TEST_FAIL("RANDOM test failed!\n", ret);
1796+
else
1797+
TEST_PASS("RANDOM test passed!\n");
1798+
#endif /* WC_NO_RNG */
1799+
18001800
#ifdef WOLFSSL_SHAKE128
18011801
if ( (ret = shake128_test()) != 0)
18021802
TEST_FAIL("SHAKE128 test failed!\n", ret);

0 commit comments

Comments
 (0)