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

20250510-testwolfcrypt-fix-exit-status
pull/8763/head
David Garske 2025-05-10 11:54:36 -07:00 committed by GitHub
commit b1cf5df2c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

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