mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #8762 from douzzer/20250510-testwolfcrypt-fix-exit-status
20250510-testwolfcrypt-fix-exit-statuspull/8763/head
commit
b1cf5df2c2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue