summaryrefslogtreecommitdiffstats
path: root/test/D/DMD2_Alt.py
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2014-12-21 17:47:01 (GMT)
committerRussel Winder <russel@winder.org.uk>2014-12-21 17:47:01 (GMT)
commitcf37fe92d43ccb0d2ec715fc603ca439588ee566 (patch)
tree581f06d779d715f78d577bbcce940a4be9ed81a3 /test/D/DMD2_Alt.py
parent975776d32d0f78b3a9d03a0c3ce29a3af2f1b872 (diff)
downloadSCons-cf37fe92d43ccb0d2ec715fc603ca439588ee566.zip
SCons-cf37fe92d43ccb0d2ec715fc603ca439588ee566.tar.gz
SCons-cf37fe92d43ccb0d2ec715fc603ca439588ee566.tar.bz2
Hack the tests (in an agreed quasi-acceptable way) to avoid CI fails.
Diffstat (limited to 'test/D/DMD2_Alt.py')
-rw-r--r--test/D/DMD2_Alt.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/D/DMD2_Alt.py b/test/D/DMD2_Alt.py
index 11c061d..3bd58b4 100644
--- a/test/D/DMD2_Alt.py
+++ b/test/D/DMD2_Alt.py
@@ -42,6 +42,7 @@ if not isExecutableOfToolAvailable(test, 'dmd'):
test.write('SConstruct', """\
import os
env = Environment(tools=['dmd', 'link'])
+env['ENV']['HOME'] = os.environ['HOME'] # Hack for gdmd
if env['PLATFORM'] == 'cygwin': env['OBJSUFFIX'] = '.obj' # trick DMD
env.Program('foo', 'foo.d')
""")