mirror of https://gitee.com/bigwinds/arangodb
Improve error reporting of "single" test target.
This commit is contained in:
parent
826714c1b3
commit
5a37b46cab
|
@ -973,7 +973,8 @@ function UnitTest (which, options) {
|
|||
rr[which] = r = testFuncs[which](options);
|
||||
ok = true;
|
||||
for (i in r) {
|
||||
if (r.hasOwnProperty(i)) {
|
||||
if (r.hasOwnProperty(i) &&
|
||||
(which !== "single" || i !== "test")) {
|
||||
if (r[i] !== 0 && r[i] !== true) {
|
||||
ok = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue