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) {
|
||||
if (isSignificant(run, runName)) {
|
||||
const xmlName = clprefix + resultName + "_" + runName;
|
||||
const current = run[runName];
|
||||
|
||||
if (current.skipped) {
|
||||
|
@ -102,7 +103,7 @@ function resultsToXml(results, baseName, cluster) {
|
|||
errors: 0,
|
||||
failures: failuresFound,
|
||||
tests: total,
|
||||
name: clprefix + runName,
|
||||
name: xmlName,
|
||||
time: current.duration
|
||||
});
|
||||
|
||||
|
@ -127,7 +128,7 @@ function resultsToXml(results, baseName, cluster) {
|
|||
|
||||
if (!current.status) {
|
||||
xml.elem("testcase", {
|
||||
name: 'all tests in ' + clprefix + runName,
|
||||
name: 'all tests in ' + xmlName,
|
||||
time: current.duration
|
||||
}, false);
|
||||
|
||||
|
@ -141,8 +142,7 @@ function resultsToXml(results, baseName, cluster) {
|
|||
|
||||
xml.elem("/testsuite");
|
||||
|
||||
const fn = makePathGeneric(baseName + clprefix +
|
||||
resultName + '_' + runName + ".xml").join('_');
|
||||
const fn = makePathGeneric(baseName + xmlName + ".xml").join('_');
|
||||
|
||||
fs.write("out/" + fn, xml.join(""));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue