diff options
author | Steven Knight <knight@baldmt.com> | 2003-01-09 07:02:06 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-01-09 07:02:06 (GMT) |
commit | d8971e6f3a7252356768ed9473461bfb45869e76 (patch) | |
tree | 5a5a063f31ebcee088faa846cb409b09a887a544 /test/nonexistent.py | |
parent | 70cbd50755323e60514c354bd0b8166990a6dae7 (diff) | |
download | SCons-d8971e6f3a7252356768ed9473461bfb45869e76.zip SCons-d8971e6f3a7252356768ed9473461bfb45869e76.tar.gz SCons-d8971e6f3a7252356768ed9473461bfb45869e76.tar.bz2 |
Win32 portability.
Diffstat (limited to 'test/nonexistent.py')
-rw-r--r-- | test/nonexistent.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/nonexistent.py b/test/nonexistent.py index 57bf5e1..e10e163 100644 --- a/test/nonexistent.py +++ b/test/nonexistent.py @@ -30,10 +30,13 @@ or uses a nonexistent source file. __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" +import os.path import TestSCons test = TestSCons.TestSCons() +foo_bar = os.path.join('foo', 'bar') + test.write('SConstruct', """ env = Environment() env.Command("aaa.out", "aaa.in", "should never get executed") @@ -47,8 +50,7 @@ test.run(arguments = 'foo', status = 2) test.run(arguments = '-k foo/bar foo', - stderr = """scons: *** Do not know how to make target `foo/bar'. -""", + stderr = "scons: *** Do not know how to make target `%s'.\n" % foo_bar, status = 2) test.run(arguments = "aaa.out", |