summaryrefslogtreecommitdiff
path: root/test/D
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2017-04-19 03:46:32 +0100
committerRussel Winder <russel@winder.org.uk>2017-04-19 03:46:32 +0100
commitdf3c8758563c5dfd9e0f6f0077a2e46a1bb86c79 (patch)
tree6d5f625d2556a2846ab6d63b4bd062e5cd0d8bc4 /test/D
parent7da4f1e42b64c37fb9f850f2632c65db9cc7ef47 (diff)
downloadscons-df3c8758563c5dfd9e0f6f0077a2e46a1bb86c79.tar.gz
Add tests for correct cleaning of correctly built and executing project built with ProgramAllAtOnce.
Diffstat (limited to 'test/D')
-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 8750221f..17130288 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: