summaryrefslogtreecommitdiffstats
path: root/test/option-c.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-16 17:40:05 (GMT)
committerSteven Knight <knight@baldmt.com>2003-01-16 17:40:05 (GMT)
commit69b104193b5ac80f33e9f4e4b2a265b3fcd3cda3 (patch)
tree9c5b3f02dd5736edb9aff12e42e371fde4dbd94b /test/option-c.py
parentc62170e2be12536add8df51ecbf414e560d93733 (diff)
downloadSCons-69b104193b5ac80f33e9f4e4b2a265b3fcd3cda3.zip
SCons-69b104193b5ac80f33e9f4e4b2a265b3fcd3cda3.tar.gz
SCons-69b104193b5ac80f33e9f4e4b2a265b3fcd3cda3.tar.bz2
Win32 portability.
Diffstat (limited to 'test/option-c.py')
-rw-r--r--test/option-c.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/option-c.py b/test/option-c.py
index 15a33f3..36c5d8a 100644
--- a/test/option-c.py
+++ b/test/option-c.py
@@ -182,8 +182,7 @@ test.fail_test(os.path.exists(test.workpath('foo2.xxx')))
test.fail_test(test.read(test.workpath('foo2.out')) != "foo2.in\n")
test.fail_test(test.read(test.workpath('foo3.out')) != "foo3.in\n")
-expect = test.wrap_stdout("""Removed subd/foox.in
-""")
+expect = test.wrap_stdout("Removed %s\n" % os.path.join('subd', 'foox.in'))
test.run(arguments = '-c subd', stdout=expect)
test.fail_test(os.path.exists(test.workpath('foox.in')))
@@ -191,9 +190,9 @@ expect = test.wrap_stdout("""Removed foo1.out
Removed foo2.out
Removed foo3.out
Removed %s
-Removed subd/SConscript
+Removed %s
Removed directory subd
-""" % os.path.join('subd','foon.in'))
+""" % (os.path.join('subd','foon.in'), os.path.join('subd', 'SConscript')))
test.run(arguments = '-c .', stdout=expect)
test.fail_test(os.path.exists(test.workpath('subdir', 'foon.in')))
test.fail_test(os.path.exists(test.workpath('subdir')))