From fa448129b1cb7a03ef00361d316ac2d7c38e8091 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 3 Mar 2011 23:54:31 -0800 Subject: SCons: Turn some scons variables into command line options. --- tests/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/SConscript b/tests/SConscript index 5d812c2eb..2e4d2d19a 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -178,7 +178,7 @@ printAction = env.Action(print_test, strfunction = None) # - long-winded message about ignored sources ignore_msg = ''' Note: The following file(s) will not be copied. New non-standard - output files must be copied manually once before update_ref will + output files must be copied manually once before --update-ref will recognize them as outputs. Otherwise they are assumed to be inputs and are ignored. ''' @@ -251,7 +251,7 @@ def test_builder(env, ref_dir): testAction) # phony target to echo status - if env['update_ref']: + if GetOption('update_ref'): p = env.Command(tgt('_update'), [ref_stats, new_stats, status_file], updateAction) -- cgit v1.2.3