Merge pull request #8762 from douzzer/20250510-testwolfcrypt-fix-exit-status

20250510-testwolfcrypt-fix-exit-status
This commit is contained in:
David Garske
2025-05-10 11:54:36 -07:00
committed by GitHub

View File

@ -2595,7 +2595,10 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
#ifndef NO_MAIN_FUNCTION
int main(int argc, char** argv)
{
return (int)wolfcrypt_test_main(argc, argv);
if (wolfcrypt_test_main(argc, argv) >= 0)
return 0;
else
return 1;
}
#endif