summaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SConscript')
-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)