mirror of https://gitee.com/bigwinds/arangodb
Unittest should report a failure to the console
This commit is contained in:
parent
5b1d0bd30a
commit
31b41471a4
|
@ -247,7 +247,11 @@ function main(argv) {
|
|||
|
||||
UnitTest.unitTestPrettyPrintResults(r);
|
||||
|
||||
return r.crashed ? -1 : 0;
|
||||
return r.status;
|
||||
}
|
||||
|
||||
main(ARGUMENTS);
|
||||
let result = main(ARGUMENTS);
|
||||
if (!result) {
|
||||
// force an error in the console
|
||||
throw 'peng';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue