summaryrefslogtreecommitdiffstats
path: root/test/option-c.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-25 07:07:02 (GMT)
committerSteven Knight <knight@baldmt.com>2003-01-25 07:07:02 (GMT)
commit9a87f34a20ea2f5ec420548a379b2818450325ef (patch)
tree2998d6ced8a67c5fa30e8b47a794399f316d3e94 /test/option-c.py
parentb0ef6b2dcf13bd6ad09a6b41fbeaee2279e1c6e8 (diff)
downloadSCons-9a87f34a20ea2f5ec420548a379b2818450325ef.zip
SCons-9a87f34a20ea2f5ec420548a379b2818450325ef.tar.gz
SCons-9a87f34a20ea2f5ec420548a379b2818450325ef.tar.bz2
Fix a bug when -c is used with -n. (Steve Leblanc)
Diffstat (limited to 'test/option-c.py')
-rw-r--r--test/option-c.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/option-c.py b/test/option-c.py
index 8d7e777..6501d75 100644
--- a/test/option-c.py
+++ b/test/option-c.py
@@ -187,6 +187,16 @@ test.run(arguments = '-c subd', stdout=expect)
test.fail_test(os.path.exists(test.workpath('foox.in')))
expect = test.wrap_stdout("""Removed foo1.out
+Removed foo2.xxx
+Removed foo2.out
+Removed foo3.out
+Removed %s
+Removed %s
+Removed directory subd
+""" % (os.path.join('subd','foon.in'), os.path.join('subd', 'SConscript')))
+test.run(arguments = '-c -n .', stdout=expect)
+
+expect = test.wrap_stdout("""Removed foo1.out
Removed foo2.out
Removed foo3.out
Removed %s