test-js: Exit with 1 if any test failed

This commit is contained in:
Linus Groh 2020-10-18 21:31:26 +01:00 committed by Andreas Kling
commit 3a72a93b9d
Notes: sideshowbarker 2024-07-19 01:51:06 +09:00

View file

@ -636,5 +636,5 @@ int main(int argc, char** argv)
vm = nullptr;
return 0;
return TestRunner::the()->counts().tests_failed > 0 ? 1 : 0;
}