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