mirror of https://gitee.com/bigwinds/arangodb
Add rr support to testing.js.
This commit is contained in:
parent
a73c617da2
commit
c9c6f14687
|
@ -110,6 +110,8 @@ const optionsDocumentation = [
|
|||
' - `rspec`: the location of rspec program',
|
||||
' - `ruby`: the location of ruby program; if empty start rspec directly',
|
||||
'',
|
||||
' - `rr`: if set to true arangod instances are run with rr',
|
||||
'',
|
||||
' - `sanitizer`: if set the programs are run with enabled sanitizer',
|
||||
' and need longer tomeouts',
|
||||
'',
|
||||
|
@ -148,6 +150,7 @@ const optionsDefaults = {
|
|||
"onlyNightly": false,
|
||||
"password": "",
|
||||
"replication": false,
|
||||
"rr": false,
|
||||
"rspec": "rspec",
|
||||
"ruby": "",
|
||||
"sanitizer": false,
|
||||
|
@ -896,8 +899,11 @@ function executeValgrind(cmd, args, options, valgrindTest) {
|
|||
|
||||
args = toArgv(valgrindOpts, true).concat([cmd]).concat(args);
|
||||
cmd = options.valgrind;
|
||||
} else if (options.rr) {
|
||||
args = [cmd].concat(args);
|
||||
cmd = "rr";
|
||||
}
|
||||
|
||||
|
||||
if (options.extremeVerbosity) {
|
||||
print("starting process " + cmd + " with arguments: " + JSON.stringify(args));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue