summaryrefslogtreecommitdiffstats
path: root/test/pre-post-actions.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-01-03 20:35:15 (GMT)
committerSteven Knight <knight@baldmt.com>2005-01-03 20:35:15 (GMT)
commitbf0edb7f66d1585a88f19184800b0d63729be91d (patch)
treefca04c48370ff7351b526ad7d815165699088622 /test/pre-post-actions.py
parent0e6b845e583831cd883b0103583abbeb197f264f (diff)
downloadSCons-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.py5
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")