From f759d0c1d2ab57c687b192d26d4aa3e463b7f59e Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 4 Sep 2008 13:29:13 -0700 Subject: [PATCH] bug 312: ./waf check fails. --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 52a70d2d8..4e3201db1 100644 --- a/wscript +++ b/wscript @@ -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"