Skip to content
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

Merged
merged 2 commits into from
Mar 19, 2018

Conversation

alexcrichton
Copy link
Member

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

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.
@alexcrichton
Copy link
Member Author

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 \
Copy link
Member

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.

Copy link
Member Author

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?

Copy link
Member

@kennytm kennytm Mar 17, 2018

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)

@kennytm
Copy link
Member

kennytm commented Mar 17, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Mar 17, 2018

📌 Commit 60eb308 has been approved by kennytm

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Mar 17, 2018
@kennytm
Copy link
Member

kennytm commented Mar 18, 2018

@bors p=5

@bors
Copy link
Contributor

bors commented Mar 19, 2018

⌛ Testing commit 60eb308 with merge c2f4744...

bors added a commit that referenced this pull request Mar 19, 2018
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
@bors
Copy link
Contributor

bors commented Mar 19, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: kennytm
Pushing c2f4744 to master...

@bors bors merged commit 60eb308 into rust-lang:master Mar 19, 2018
@alexcrichton alexcrichton deleted the debug-asmjs branch March 19, 2018 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants