Commit f759d0c1 authored by Mathieu Lacage's avatar Mathieu Lacage
Browse files

bug 312: ./waf check fails.

parent b641c0d9
Showing with 2 additions and 2 deletions
+2 -2
......@@ -425,7 +425,7 @@ def build(bld):
if env['NSC_ENABLED'] == 'yes':
nsc_build(bld)
def get_command_template(arguments):
def get_command_template(*arguments):
if Params.g_options.valgrind:
if Params.g_options.command_template:
Params.fatal("Options --command-template and --valgrind are conflicting")
......@@ -855,7 +855,7 @@ class Regression(object):
#os.system("./waf --cwd regression/traces --run " +
# testName + " > /dev/null 2>&1")
Params.g_options.cwd_launch = "traces"
run_program(testName, command_template=get_command_template(arguments))
run_program(testName, command_template=get_command_template(*arguments))
if verbose:
#diffCmd = "diff traces " + refTestDirName + " | head"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment