bug 312: ./waf check fails.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 04 Sep 2008 13:29:13 -0700
changeset 3623 5209cecd2ade
parent 3622 a74c78bfc304
child 3624 422ce0c7bd20
child 3629 367ae1cba60f
bug 312: ./waf check fails.
wscript
--- a/wscript	Thu Sep 04 12:20:02 2008 -0700
+++ b/wscript	Thu Sep 04 13:29:13 2008 -0700
@@ -425,7 +425,7 @@
     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 @@
             #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"