Conversation
|
Thanks for your pull request, @wilzbach! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
ae08ccb to
629e42d
Compare
629e42d to
ff92a74
Compare
|
@wilzbach thx! |
d670e5e to
a9750db
Compare
|
Argh - it seems like we need to rework the testsuite to include |
8f9d924 to
3c511a7
Compare
|
Wohoo this is finally passing on Travis 🎉 |
rdmd_test.d
Outdated
| std.file.write(forceSrc, `void main() { pragma(msg, "compile_force_src"); }`); | ||
|
|
||
| res = execute([rdmdApp, compilerSwitch, forceSrc]); | ||
| res = execute([rdmdApp, compilerSwitch, modelSwitch, forceSrc]); |
There was a problem hiding this comment.
Is there any instance of compilerSwitch that's not accompanied by an instance of of modelSwitch? If no, then just append model to compilerSwitch.
There was a problem hiding this comment.
Is there any instance of compilerSwitch that's not accompanied by an instance of of modelSwitch?
Nope, but as execute excepts an array, we can't do ["dmd", "--compiler=foo -m32", ...].
Btw (a bit OT): is there any reason that execute doesn't allow ranges?
There was a problem hiding this comment.
You can just break the array and concatenate sub-arrays.
Anyway I looked and rdmdApp always occurs together with compilerSwitch, so I'd refactor those into an array, so that the invocation looks like execute(rdmdArgs ~ [...])
3c511a7 to
6dee858
Compare
Fair enough. Done. |
| install_digger() { | ||
| $DIGGER build --model=$MODEL "master" | ||
| export PATH=$PWD/result/bin:$PATH | ||
| export PATH=$PWD/work/result/bin:$PATH |
There was a problem hiding this comment.
I'd suggest pinning Digger to a specific version (as with DScanner) to avoid the breaking changes in Digger's master from affecting tools.
There was a problem hiding this comment.
Okay - will do this in another PR
Follow-up to #239 (comment)
This should make (1) it a lot easier to run the test suite properly (after all it's now part of the
testMakefile target) and (2) should be a good step into debugging why Travis build succeed.Currently, however, it fails:
I have looked into fixing
rdmd_testtwo weeks ago and the fix for this is still in the Phobos queue: dlang/phobos#5502CC @CyberShadow