Skip to content

rustfix coverage: Skip UI tests with non-json error-format - #59677

Merged
bors merged 1 commit into
rust-lang:masterfrom
phansch:rustfix_coverage_handle_other_error_formats
Apr 4, 2019
Merged

rustfix coverage: Skip UI tests with non-json error-format#59677
bors merged 1 commit into
rust-lang:masterfrom
phansch:rustfix_coverage_handle_other_error_formats

Conversation

@phansch

Copy link
Copy Markdown
Contributor

When using the rustfix-coverage flag, some tests currently fail
because they define a different error-format than json.

The current implementation crashes when encountering those tests. Since
we don't care about non-json test output when collecting the coverage
data, we handle those tests by returning an empty Vec instead.

r? @oli-obk

When using the `rustfix-coverage` flag, some tests currently fail
because they define a different error-format than `json`.
The current implementation crashes when encountering those tests. Since
we don't care about non-json test output when collecting the coverage
data, we handle those tests by returning an empty `Vec` instead.
@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 3, 2019
@oli-obk

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Apr 3, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit da99f46 has been approved by oli-obk

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 3, 2019
Centril added a commit to Centril/rust that referenced this pull request Apr 3, 2019
…er_error_formats, r=oli-obk
rustfix coverage: Skip UI tests with non-json error-format
When using the `rustfix-coverage` flag, some tests currently fail
because they define a different error-format than `json`.
The current implementation crashes when encountering those tests. Since
we don't care about non-json test output when collecting the coverage
data, we handle those tests by returning an empty `Vec` instead.
r? @oli-obk
@CentrilCentril mentioned this pull request Apr 3, 2019
Centril added a commit to Centril/rust that referenced this pull request Apr 3, 2019
…er_error_formats, r=oli-obk
rustfix coverage: Skip UI tests with non-json error-format
When using the `rustfix-coverage` flag, some tests currently fail
because they define a different error-format than `json`.
The current implementation crashes when encountering those tests. Since
we don't care about non-json test output when collecting the coverage
data, we handle those tests by returning an empty `Vec` instead.
r? @oli-obk
@CentrilCentril mentioned this pull request Apr 3, 2019
bors added a commit that referenced this pull request Apr 4, 2019
Rollup of 6 pull requests
Successful merges:
- #59316 (Internal lints take 2)
- #59663 (Be more direct about borrow contract)
- #59664 (Updated the documentation of spin_loop and spin_loop_hint)
- #59666 (Updated the environment description in rustc.)
- #59669 (Reduce repetition in librustc(_lint) wrt. impl LintPass by using macros)
- #59677 (rustfix coverage: Skip UI tests with non-json error-format)
Failed merges:
r? @ghost
@bors
bors merged commit da99f46 into rust-lang:masterApr 4, 2019
@phansch
phansch deleted the rustfix_coverage_handle_other_error_formats branch April 4, 2019 06:06
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

4 participants

@phansch@oli-obk@bors@rust-highfive