1
0
Fork 0

Optionalize the availability of valgrind arguments.

This commit is contained in:
Willi Goesgens 2014-10-28 18:05:53 +01:00
parent b1fb5478a7
commit a25f5aa513
1 changed files with 6 additions and 2 deletions

View File

@ -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,