summaryrefslogtreecommitdiffstats
path: root/test/D/Issues/2944
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2016-01-19 10:46:38 (GMT)
committerRussel Winder <russel@winder.org.uk>2016-01-19 10:46:38 (GMT)
commit6cc2ad09d86e6da5812485b0e50a820e2560b31b (patch)
tree3868c62f2001a91a63a9d0c4cd40013a7afd9d00 /test/D/Issues/2944
parent04d57cfde1553cb10638a4f2d066c1c7f17a5d6f (diff)
downloadSCons-6cc2ad09d86e6da5812485b0e50a820e2560b31b.zip
SCons-6cc2ad09d86e6da5812485b0e50a820e2560b31b.tar.gz
SCons-6cc2ad09d86e6da5812485b0e50a820e2560b31b.tar.bz2
Correct the Issue number. Amend the test to use an option valid for dmd, ldc2, and gdc.
Diffstat (limited to 'test/D/Issues/2944')
-rw-r--r--test/D/Issues/2944/D_changed_DFLAGS_not_rebuilding.py23
-rw-r--r--test/D/Issues/2944/image/SConstruct11
-rw-r--r--test/D/Issues/2944/image/main.d11
3 files changed, 0 insertions, 45 deletions
diff --git a/test/D/Issues/2944/D_changed_DFLAGS_not_rebuilding.py b/test/D/Issues/2944/D_changed_DFLAGS_not_rebuilding.py
deleted file mode 100644
index 1d9854f..0000000
--- a/test/D/Issues/2944/D_changed_DFLAGS_not_rebuilding.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# Test to check for issue reported in tigris bug 2994
-# http://scons.tigris.org/issues/show_bug.cgi?id=2994
-#
-
-import TestSCons
-
-test = TestSCons.TestSCons()
-
-dmd_present = test.detect_tool('dmd', prog='dmd')
-ldc_present = test.detect_tool('ldc',prog='ldc2')
-gdc_present = test.detect_tool('gdc',prog='gdc')
-
-if not (dmd_present or ldc_present or gdc_present):
- test.skip_test("Could not load dmd ldc or gdc Tool; skipping test(s).\n")
-
-
-test.dir_fixture('image')
-test.run()
-test.fail_test('main.o' not in test.stdout())
-test.run(arguments='change=1')
-test.fail_test('is up to date' in test.stdout())
-
-test.pass_test()
diff --git a/test/D/Issues/2944/image/SConstruct b/test/D/Issues/2944/image/SConstruct
deleted file mode 100644
index 2c7deee..0000000
--- a/test/D/Issues/2944/image/SConstruct
+++ /dev/null
@@ -1,11 +0,0 @@
-# -*- codig:utf-8; -*-
-
-env=Environment()
-
-change = ARGUMENTS.get('change', 0)
-if int(change):
- env.Append(DFLAGS = '-d')
-
-env.Program('proj', ['main.d'])
-
-
diff --git a/test/D/Issues/2944/image/main.d b/test/D/Issues/2944/image/main.d
deleted file mode 100644
index f0aa23a..0000000
--- a/test/D/Issues/2944/image/main.d
+++ /dev/null
@@ -1,11 +0,0 @@
-/* This program prints a
- hello world message
- to the console. */
-
-import std.stdio;
-
-void main()
-{
- writeln("Hello, World!");
-}
-