1
0
Fork 0

another place where we need to know the testresult output directory

This commit is contained in:
Wilfried Goesgens 2017-04-11 17:06:52 +02:00
parent 2e8750fa33
commit 839d44de80
2 changed files with 5 additions and 3 deletions

View File

@ -189,6 +189,8 @@ function main(argv) {
testOutputDirectory = 'out/'; testOutputDirectory = 'out/';
} }
options.testOutputDirectory = testOutputDirectory;
// force json reply // force json reply
options.jsonReply = true; options.jsonReply = true;

View File

@ -67,7 +67,7 @@ function catchRunner (options) {
'-r', '-r',
'junit', 'junit',
'-o', '-o',
fs.join('out', 'catch-standard.xml')]; fs.join(options.testOutputDirectory, 'catch-standard.xml')];
results.basics = pu.executeAndWait(run, argv, options, 'all-catch', rootDir); results.basics = pu.executeAndWait(run, argv, options, 'all-catch', rootDir);
} else { } else {
results.basics = { results.basics = {
@ -83,7 +83,7 @@ function catchRunner (options) {
'-r', '-r',
'junit', 'junit',
'-o', '-o',
fs.join('out', 'catch-cache.xml') fs.join(options.testOutputDirectory, 'catch-cache.xml')
]; ];
results.cache_suite = pu.executeAndWait(run, argv, options, results.cache_suite = pu.executeAndWait(run, argv, options,
'cache_suite', rootDir); 'cache_suite', rootDir);
@ -101,7 +101,7 @@ function catchRunner (options) {
'-r', '-r',
'junit', 'junit',
'-o', '-o',
fs.join('out', 'catch-geo.xml') fs.join(options.testOutputDirectory, 'catch-geo.xml')
]; ];
results.geo_suite = pu.executeAndWait(run, argv, options, 'geo_suite', rootDir); results.geo_suite = pu.executeAndWait(run, argv, options, 'geo_suite', rootDir);
} else { } else {