diff options
author | Russel Winder <russel@winder.org.uk> | 2014-12-21 17:47:01 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2014-12-21 17:47:01 (GMT) |
commit | cf37fe92d43ccb0d2ec715fc603ca439588ee566 (patch) | |
tree | 581f06d779d715f78d577bbcce940a4be9ed81a3 /test/D/HSTeoh/Common | |
parent | 975776d32d0f78b3a9d03a0c3ce29a3af2f1b872 (diff) | |
download | SCons-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/HSTeoh/Common')
-rw-r--r-- | test/D/HSTeoh/Common/singleStringCannotBeMultipleOptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/D/HSTeoh/Common/singleStringCannotBeMultipleOptions.py b/test/D/HSTeoh/Common/singleStringCannotBeMultipleOptions.py index 26b477b..4716f1c 100644 --- a/test/D/HSTeoh/Common/singleStringCannotBeMultipleOptions.py +++ b/test/D/HSTeoh/Common/singleStringCannotBeMultipleOptions.py @@ -55,6 +55,10 @@ def testForTool(tool): 'ldc': ".*Unknown command line argument '-m64 -O'.*", }[tool] + from SCons.Environment import Base + if tool == 'dmd' and Base()['DC'] == 'gdmd': + result = ".*unrecognized command line option '-m64 -O'.*" + test.fail_test(not test.match_re_dotall(test.stderr(), result)) test.pass_test() |