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);
|
setGlobal(&env);
|
||||||
|
|
||||||
if (argc == 2 && strcmp(argv[1], "--run-tests") == 0) {
|
if (argc == 2 && strcmp(argv[1], "--run-tests") == 0) {
|
||||||
runTests();
|
return runTests();
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sigaction action;
|
struct sigaction action;
|
||||||
|
|
Loading…
Reference in New Issue