mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-10 07:14:04 +02:00
Merge pull request #20878 from timvandermeij/exit-code
Use a non-zero exit code if the tests failed
This commit is contained in:
commit
6ca9389d25
@ -743,6 +743,7 @@ function onAllSessionsClosedAfterTests(name) {
|
||||
}
|
||||
var runtime = (Date.now() - startTime) / 1000;
|
||||
console.log(name + " tests runtime was " + runtime.toFixed(1) + " seconds");
|
||||
process.exit(numErrors > 0 ? 1 : 0);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user