From 26146b842f0ab9543142cfd5dbb21cb609030fad Mon Sep 17 00:00:00 2001 From: William Deegan Date: Sun, 22 Feb 2015 14:44:16 -0800 Subject: Test for tigris bug 2944. DFLAGS changes not causing rebuild --- test/D/Issues/2944/image/SConstruct | 11 +++++++++++ test/D/Issues/2944/image/main.d | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 test/D/Issues/2944/image/SConstruct create mode 100644 test/D/Issues/2944/image/main.d diff --git a/test/D/Issues/2944/image/SConstruct b/test/D/Issues/2944/image/SConstruct new file mode 100644 index 0000000..2c7deee --- /dev/null +++ b/test/D/Issues/2944/image/SConstruct @@ -0,0 +1,11 @@ +# -*- 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 new file mode 100644 index 0000000..f0aa23a --- /dev/null +++ b/test/D/Issues/2944/image/main.d @@ -0,0 +1,11 @@ +/* This program prints a + hello world message + to the console. */ + +import std.stdio; + +void main() +{ + writeln("Hello, World!"); +} + -- cgit v0.12