tests: scope xml file per platform

This commit is contained in:
Joao Moreno
2018-06-11 22:36:32 +02:00
parent 4eceb88ebf
commit d8555f56c1
5 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
options.reporter = 'mocha-junit-reporter';
options.reporterOptions = {
testsuitesTitle: `Integration Single Folder Tests ${process.platform}`,
mochaFile: path.join(process.env.BUILD_ARTIFACTSTAGINGDIRECTORY, 'test-results/integration-singlefolder-test-results.xml')
mochaFile: path.join(process.env.BUILD_ARTIFACTSTAGINGDIRECTORY, `test-results/${process.platform}-integration-singlefolder-test-results.xml`)
};
}

View File

@@ -28,7 +28,7 @@ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
options.reporter = 'mocha-junit-reporter';
options.reporterOptions = {
testsuitesTitle: `Integration Workspace Tests ${process.platform}`,
mochaFile: path.join(process.env.BUILD_ARTIFACTSTAGINGDIRECTORY, 'test-results/integration-workspace-test-results.xml')
mochaFile: path.join(process.env.BUILD_ARTIFACTSTAGINGDIRECTORY, `test-results/${process.platform}-integration-workspace-test-results.xml`)
};
}