summaryrefslogtreecommitdiff
path: root/test/option-v.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-07-12 06:00:46 +0000
committerSteven Knight <knight@baldmt.com>2002-07-12 06:00:46 +0000
commit25846c09acbebca4f41664a76dfc6175b3617e90 (patch)
tree1a58edf9e1eb2ecebdca49cb282c6b08030dae80 /test/option-v.py
parent792e057aef517bcf387f83d816b99f6b097f4c9a (diff)
downloadscons-25846c09acbebca4f41664a76dfc6175b3617e90.tar.gz
Fix scons -v on win32. (Anthony Roach)
Diffstat (limited to 'test/option-v.py')
-rw-r--r--test/option-v.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/option-v.py b/test/option-v.py
index 4adcf5ea..a0f7d938 100644
--- a/test/option-v.py
+++ b/test/option-v.py
@@ -33,7 +33,13 @@ test = TestSCons.TestSCons(match = TestCmd.match_re)
test.write('SConstruct', "")
-expect = r"""SCons by Steven Knight et al.:
+if sys.platform == 'win32':
+ expect = r"""SCons by Steven Knight et al.:
+\tengine: v\S+, [^,]*, by \S+ on \S+
+Copyright 2001, 2002 Steven Knight
+"""
+else:
+ expect = r"""SCons by Steven Knight et al.:
\tscript: v\S+, [^,]*, by \S+ on \S+
\tengine: v\S+, [^,]*, by \S+ on \S+
Copyright 2001, 2002 Steven Knight