diff --git a/bin/runapptests.js b/bin/runapptests.js index 535fdb574..f83958a2b 100755 --- a/bin/runapptests.js +++ b/bin/runapptests.js @@ -370,6 +370,10 @@ emu.init({ console.log("\n\n"); console.log("Overall results:"); console.table(testState); + + process.exit(testState.reduce((a,c)=>{ + return a + ((c.result == "SUCCESS") ? 0 : 1); + }, 0)) }); return p; });