1
0
Fork 0

fixed naming

This commit is contained in:
Frank Celler 2016-02-11 15:07:59 +01:00
parent ed3f635407
commit b2a35a337a
1 changed files with 4 additions and 4 deletions

View File

@ -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(""));
}