mirror of https://gitee.com/bigwinds/arangodb
Combine successfull testcases to one status line.
This commit is contained in:
parent
3c0660cfe3
commit
38c1d1d8ca
|
@ -1875,10 +1875,11 @@ function unitTestPrettyPrintResults(r) {
|
|||
var oneOutput = "";
|
||||
|
||||
oneOutput = "Testrun: " + testrun + "\n";
|
||||
var successTests = "";
|
||||
for (test in r[testrun]) {
|
||||
if (r[testrun].hasOwnProperty(test) && (internalMembers.indexOf(test) === -1)) {
|
||||
if (r[testrun][test].status) {
|
||||
oneOutput += " [Success] " + test + "\n";
|
||||
successTests += test + ', ';
|
||||
}
|
||||
else {
|
||||
testSuiteFail++;
|
||||
|
@ -1909,6 +1910,9 @@ function unitTestPrettyPrintResults(r) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (successTests !== "") {
|
||||
oneOutput = " [Success] " + successTests + '\n' + oneOutput;
|
||||
}
|
||||
if (isSuccess) {
|
||||
success += oneOutput;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue