Exit code of `./pl --run-tests` is the number of failed tests.
This commit is contained in:
parent
d743970b1a
commit
6c7132aa46
|
@ -771,8 +771,7 @@ int main(int argc, const char* argv[])
|
|||
setGlobal(&env);
|
||||
|
||||
if (argc == 2 && strcmp(argv[1], "--run-tests") == 0) {
|
||||
runTests();
|
||||
return 0;
|
||||
return runTests();
|
||||
}
|
||||
|
||||
struct sigaction action;
|
||||
|
|
Loading…
Reference in New Issue