mirror of https://gitee.com/bigwinds/arangodb
fixed naming
This commit is contained in:
parent
ed3f635407
commit
b2a35a337a
|
@ -79,6 +79,7 @@ function resultsToXml(results, baseName, cluster) {
|
||||||
|
|
||||||
for (let runName in run) {
|
for (let runName in run) {
|
||||||
if (isSignificant(run, runName)) {
|
if (isSignificant(run, runName)) {
|
||||||
|
const xmlName = clprefix + resultName + "_" + runName;
|
||||||
const current = run[runName];
|
const current = run[runName];
|
||||||
|
|
||||||
if (current.skipped) {
|
if (current.skipped) {
|
||||||
|
@ -102,7 +103,7 @@ function resultsToXml(results, baseName, cluster) {
|
||||||
errors: 0,
|
errors: 0,
|
||||||
failures: failuresFound,
|
failures: failuresFound,
|
||||||
tests: total,
|
tests: total,
|
||||||
name: clprefix + runName,
|
name: xmlName,
|
||||||
time: current.duration
|
time: current.duration
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -127,7 +128,7 @@ function resultsToXml(results, baseName, cluster) {
|
||||||
|
|
||||||
if (!current.status) {
|
if (!current.status) {
|
||||||
xml.elem("testcase", {
|
xml.elem("testcase", {
|
||||||
name: 'all tests in ' + clprefix + runName,
|
name: 'all tests in ' + xmlName,
|
||||||
time: current.duration
|
time: current.duration
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
|
@ -141,8 +142,7 @@ function resultsToXml(results, baseName, cluster) {
|
||||||
|
|
||||||
xml.elem("/testsuite");
|
xml.elem("/testsuite");
|
||||||
|
|
||||||
const fn = makePathGeneric(baseName + clprefix +
|
const fn = makePathGeneric(baseName + xmlName + ".xml").join('_');
|
||||||
resultName + '_' + runName + ".xml").join('_');
|
|
||||||
|
|
||||||
fs.write("out/" + fn, xml.join(""));
|
fs.write("out/" + fn, xml.join(""));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue