summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-03-03 23:54:31 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-03-03 23:54:31 -0800
commitfa448129b1cb7a03ef00361d316ac2d7c38e8091 (patch)
tree97366bbd8d814c1403c9b9a7acc11c53c319abb2 /tests
parent880edb0b592f8b6fb88b7614e05cc48cc1599846 (diff)
downloadgem5-fa448129b1cb7a03ef00361d316ac2d7c38e8091.tar.xz
SCons: Turn some scons variables into command line options.
Diffstat (limited to 'tests')
-rw-r--r--tests/SConscript4
1 files changed, 2 insertions, 2 deletions
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)