mirror of https://gitee.com/bigwinds/arangodb
output setup failures to testfailures.txt (#9188)
This commit is contained in:
parent
8ea080355a
commit
1d2071420b
|
@ -781,7 +781,21 @@ function unitTest (cases, options) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
pu.setupBinaries(options.build, options.buildType, options.configDir);
|
try {
|
||||||
|
pu.setupBinaries(options.build, options.buildType, options.configDir);
|
||||||
|
}
|
||||||
|
catch (err) {
|
||||||
|
print(err);
|
||||||
|
return {
|
||||||
|
status: false,
|
||||||
|
crashed: true,
|
||||||
|
ALL: [{
|
||||||
|
status: false,
|
||||||
|
failed: 1,
|
||||||
|
message: err.message
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
}
|
||||||
const jsonReply = options.jsonReply;
|
const jsonReply = options.jsonReply;
|
||||||
delete options.jsonReply;
|
delete options.jsonReply;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue