mirror of https://gitee.com/bigwinds/arangodb
Add filter of testcases based on the --test parameter.
This commit is contained in:
parent
cace25bd55
commit
0d593de325
|
@ -177,6 +177,10 @@ function printUsage () {
|
|||
}
|
||||
|
||||
function filterTestcaseByOptions (testname, options, whichFilter) {
|
||||
if (options.hasOwnProperty('test')) {
|
||||
whichFilter.filter = "testcase";
|
||||
return testname === options.test;
|
||||
}
|
||||
if ((testname.indexOf("-cluster") !== -1) && (options.cluster === false)) {
|
||||
whichFilter.filter = 'noncluster';
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue