-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use multiple different test compilers when invoking rdmd_test from Travis CI #297
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,13 @@ | |
|
||
set -uexo pipefail | ||
|
||
make -f posix.mak all DMD="$(which $DMD)" | ||
make -f posix.mak test DMD="$(which $DMD)" | ||
~/dlang/install.sh install ldc | ||
|
||
~/dlang/install.sh list | ||
|
||
LDMD2=$(find ~/dlang -type f -name "ldmd2") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think I should add a flag to the installer script that allows to get the binary path or main binary. What would be more useful?
Or maybe simply all three of them? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To my mind what would be most useful would be a way for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i.e. to be able to do There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wouldn't make any of these options a blocker or requirement for this PR, though. The |
||
|
||
make -f posix.mak all DMD=$(which dmd) | ||
make -f posix.mak test DMD=$(which dmd) \ | ||
RDMD_TEST_COMPILERS=dmd,$LDMD2 \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Always use quotes for variables ( I recommend the shellcheck linter) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You were quick, I'd have fixed that :-P There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Travis always uses the same paths as do we on the installer side, so it wasn't really blocking this PR ;-) |
||
VERBOSE_RDMD_TEST=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That isn't strictly needed, but a good practice nevertheless.