summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2017-04-19 02:46:32 (GMT)
committerRussel Winder <russel@winder.org.uk>2017-04-19 02:46:32 (GMT)
commitdc99a01347366fe7dcf0ac4485d6a7343a7c5afb (patch)
tree6d5f625d2556a2846ab6d63b4bd062e5cd0d8bc4 /test
parent43d08fb616192406272eb86ccb289adb9a664927 (diff)
downloadSCons-dc99a01347366fe7dcf0ac4485d6a7343a7c5afb.zip
SCons-dc99a01347366fe7dcf0ac4485d6a7343a7c5afb.tar.gz
SCons-dc99a01347366fe7dcf0ac4485d6a7343a7c5afb.tar.bz2
Add tests for correct cleaning of correctly built and executing project built with ProgramAllAtOnce.
Diffstat (limited to 'test')
-rw-r--r--test/D/AllAtOnce/Common/common.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/D/AllAtOnce/Common/common.py b/test/D/AllAtOnce/Common/common.py
index 8750221..1713028 100644
--- a/test/D/AllAtOnce/Common/common.py
+++ b/test/D/AllAtOnce/Common/common.py
@@ -62,6 +62,14 @@ def testForTool(tool):
The value is 42.
''')
+ test.run('-c')
+
+ test.must_not_exist(test.workpath('amod.o'))
+ test.must_not_exist(test.workpath('bmod.o'))
+ test.must_not_exist(test.workpath('main.o'))
+ test.must_not_exist(test.workpath('project.o'))
+ test.must_not_exist(test.workpath('project'))
+
test.pass_test()
# Local Variables: