Skip to content

Commit f209271

Browse files
committed
make sure we exit nonzero
1 parent 58f38dc commit f209271

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simple/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ exports.test = function (global) {
258258
} catch (ex) {
259259
print("exception in test " + test.name + ": " + ex);
260260
errors.push({ test: test.name, error: ex });
261+
global.returnValue = 1;
261262
}
262263
} // for i
263264

0 commit comments

Comments
 (0)