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

UI tests cleanup #6084

Merged
merged 3 commits into from
Sep 25, 2020
Merged

UI tests cleanup #6084

merged 3 commits into from
Sep 25, 2020

Conversation

ebroto
Copy link
Member

@ebroto ebroto commented Sep 25, 2020

@matthiaskrgr noticed some run-pass annotations in some crash tests that were added in #3922. At that moment they seemed to be necessary to make the tests fail in case of an ICE, but they do not seem to be needed anymore. To test this I forced an ICE in a file with and without annotations, with and without stderr files, and the ICE makes the test fail every time.

In addition, I've applied a suggestion from @ehuss and @jyn514 to add emit=metadata to the rustc flags for the UI tests. In my machine this improved the run time from ~17 to ~12 seconds.

changelog: none

It does not seem to be necessary
This should improve the performance by avoiding codegen
@rust-highfive
Copy link

r? @phansch

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 25, 2020
@ebroto
Copy link
Member Author

ebroto commented Sep 25, 2020

Hmm seems to crash from a clean build, will take a look.

EDIT: Fixed, auxiliary proc macro crates need to be generated 😅

@flip1995
Copy link
Member

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Sep 25, 2020

📌 Commit 1cb3c00 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Sep 25, 2020

⌛ Testing commit 1cb3c00 with merge 6e5306d...

@bors
Copy link
Contributor

bors commented Sep 25, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 6e5306d to master...

@bors bors merged commit 6e5306d into rust-lang:master Sep 25, 2020
@ebroto ebroto deleted the ui_tests_cleanup branch September 25, 2020 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants