mirror of https://gitee.com/bigwinds/arangodb
another place where we need to know the testresult output directory
This commit is contained in:
parent
2e8750fa33
commit
839d44de80
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue