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 | bf0edb7f66d1585a88f19184800b0d63729be91d (patch) | |
tree | fca04c48370ff7351b526ad7d815165699088622 /test/pre-post-actions.py | |
parent | 0e6b845e583831cd883b0103583abbeb197f264f (diff) | |
download | SCons-bf0edb7f66d1585a88f19184800b0d63729be91d.zip SCons-bf0edb7f66d1585a88f19184800b0d63729be91d.tar.gz SCons-bf0edb7f66d1585a88f19184800b0d63729be91d.tar.bz2 |
Win32 portability fixes.
Diffstat (limited to 'test/pre-post-actions.py')
-rw-r--r-- | test/pre-post-actions.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/pre-post-actions.py b/test/pre-post-actions.py index 860ae24..2d8458c 100644 --- a/test/pre-post-actions.py +++ b/test/pre-post-actions.py @@ -28,6 +28,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os +import os.path import stat import sys import TestSCons @@ -162,8 +163,8 @@ env.Command('dir/file', [], build) test.run(chdir = 'work3', arguments = 'dir/file', stdout=test.wrap_stdout("""\ pre(["dir"], []) post(["dir"], []) -build(["dir/file"], []) -""")) +build(["%s"], []) +""" % os.path.join('dir', 'file'))) test.must_match(['work3', 'dir', 'file'], "build()\n") |