-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Try to reduce amount of time on the asmjs builder #49095
Conversation
Since all tests are compiled with LTO effectively in Emscripten this commit disables optimizations to hopefully squeeze some more time out of the CI builders. Closes rust-lang#48826
Many tests run on the asmjs builder like compile-fail, ui, parse-fail, etc, aren't actually specific to asm.js. Instead of running redundant test suites this commit changes things up to only run tests that actually emit JS we then pass to node.
r? @kennytm |
ENV SCRIPT python2.7 ../x.py test --target $TARGETS | ||
ENV SCRIPT python2.7 ../x.py test --target $TARGETS \ | ||
src/test/run-pass \ | ||
src/test/run-fail \ |
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.
I think we should still enable run-pass-fulldeps
, run-fail-fulldeps
and run-make
.
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.
Oh currently I don't believe we run any of those tests, right?
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.
Oh let me check...
Indeed they aren't run. In the previous build, the following tests are executed:
- ui
- run-pass
- compile-fail
- parse-fail
- run-fail
- run-pass-valgrind
- mir-opt
- codegen
- codegen-units
- incremental
- debuginfo-gdb
- (and the libraries)
@bors r+ |
📌 Commit 60eb308 has been approved by |
@bors p=5 |
Try to reduce amount of time on the asmjs builder This PR has two commits for two separate strategies: * First it disables optimizations for all tests, hopefully saving time by not optimizing the test code. This caused a number of run-pass tests to fail which are switched to being ignored here. * Next it disables a number of test suites which aren't asm.js specific and already run elsewhere cc #48826
☀️ Test successful - status-appveyor, status-travis |
This PR has two commits for two separate strategies:
cc #48826