diff options
author | Steven Knight <knight@baldmt.com> | 2005-01-03 20:35:15 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-01-03 20:35:15 (GMT) |
commit | 4faa0280b31792a8ce58c2cc8877c67279a55f6b (patch) | |
tree | fca04c48370ff7351b526ad7d815165699088622 /test/multi.py | |
parent | 49766df7a53c47fdc9d30549595efe1cfcd479b0 (diff) | |
download | SCons-4faa0280b31792a8ce58c2cc8877c67279a55f6b.zip SCons-4faa0280b31792a8ce58c2cc8877c67279a55f6b.tar.gz SCons-4faa0280b31792a8ce58c2cc8877c67279a55f6b.tar.bz2 |
Win32 portability fixes.
Diffstat (limited to 'test/multi.py')
-rw-r--r-- | test/multi.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/multi.py b/test/multi.py index 7ae1736..1977679 100644 --- a/test/multi.py +++ b/test/multi.py @@ -28,9 +28,11 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" Test various cases where a target is "built" by multiple builder calls. """ +import os.path +import string + import TestCmd import TestSCons -import os.path test = TestSCons.TestSCons(match=TestCmd.match_re) @@ -173,7 +175,7 @@ test.run(arguments='file4.out', stderr=TestSCons.re_escape(""" scons: warning: Two different environments were specified for target file4.out, but they appear to have the same action: %(python)s build.py \$foo \$TARGET \$SOURCES -""" % {'python':TestSCons.python}) + TestSCons.file_expr) +""" % {'python':string.replace(TestSCons.python, '\\', '\\\\')}) + TestSCons.file_expr) test.must_match('file4.out', "3\nfile4a.in\nfile4b.in\n") |