mirror of
https://github.com/outbackdingo/nDPId.git
synced 2026-01-27 10:19:45 +00:00
test exit status depends on number of failed tests
This commit is contained in:
@@ -603,6 +603,6 @@ int main() {
|
||||
test(test_nonstrict, "test for non-strict mode");
|
||||
test(test_keyvalue, "test for keys/values");
|
||||
printf("\nPASSED: %d\nFAILED: %d\n", test_passed, test_failed);
|
||||
return 0;
|
||||
return (test_failed > 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user