mirror of https://gitee.com/bigwinds/arangodb
Optionalize the availability of valgrind arguments.
This commit is contained in:
parent
b1fb5478a7
commit
a25f5aa513
|
@ -272,8 +272,12 @@ function startInstance (protocol, options, addArgs, testname) {
|
|||
var valgrindXmlFileBase = "";
|
||||
if (typeof(options.valgrind) === 'string') {
|
||||
runInValgrind = options.valgrind;
|
||||
valgrindopts = options.valgrindargs;
|
||||
valgrindXmlFileBase = options.valgrindXmlFileBase;
|
||||
if (options.hasOwnProperty("valgrindargs")) {
|
||||
valgrindopts = options.valgrindargs;
|
||||
}
|
||||
if (options.hasOwnProperty("valgrindXmlFileBase")) {
|
||||
valgrindXmlFileBase = options.valgrindXmlFileBase;
|
||||
}
|
||||
}
|
||||
|
||||
var p = new Planner({"numberOfDBservers" : 2,
|
||||
|
|
Loading…
Reference in New Issue