mirror of https://gitee.com/bigwinds/arangodb
options.test is always there - need to check whether its defined.
This commit is contained in:
parent
486d86e0cb
commit
ac141a4e14
|
@ -179,7 +179,7 @@ function printUsage () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function filterTestcaseByOptions (testname, options, whichFilter) {
|
function filterTestcaseByOptions (testname, options, whichFilter) {
|
||||||
if (options.hasOwnProperty('test')) {
|
if (options.hasOwnProperty('test') && (typeof(options.test) !== 'undefined')) {
|
||||||
whichFilter.filter = "testcase";
|
whichFilter.filter = "testcase";
|
||||||
return testname === options.test;
|
return testname === options.test;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue