Restrict ignore-mode-* directives by jieyouxu · Pull Request #131346 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation5 Commits1 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

jieyouxu

This is only used by coverage test suites where the same sources get run under different coverage modes. Restrict ignore-mode-<coverage_mode> to only coverage modes.

@rustbot

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-testsuite

Area: The testsuite used to check the correctness of rustc

S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

labels

Oct 7, 2024

@rust-log-analyzer

This comment has been minimized.

@jieyouxu jieyouxu changed the titlePrune invalid ignore-mode-* directives Restrict ignore-mode-* directives

Oct 7, 2024

@jieyouxu

These are only valid for coverage test modes.

@Zalathar

Yeah, this seems reasonable. I implemented ignore-mode-* in the fully-general way because it was easier than not doing that, but realistically there's no foreseeable need for it in any of the other test suites.

@Zalathar

Thanks!

@bors r+ rollup=always

@bors

📌 Commit 64efbe2 has been approved by Zalathar

It is now in the queue for this repository.

@bors bors 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

Oct 7, 2024

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 7, 2024

@bors

…iaskrgr

Rollup of 4 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Oct 7, 2024

@rust-timer

Rollup merge of rust-lang#131346 - jieyouxu:prune-invalid-directives, r=Zalathar

Restrict ignore-mode-* directives

This is only used by coverage test suites where the same sources get run under different coverage modes. Restrict ignore-mode-<coverage_mode> to only coverage modes.

@jieyouxu jieyouxu deleted the prune-invalid-directives branch

October 7, 2024 14:33

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Oct 8, 2024

@matthiaskrgr

Simplify the compiletest directives for ignoring coverage-test modes

Follow-up to rust-lang#131346.

Given that these directives are now restricted to ignoring coverage-test modes only, we can drop the clunky ignore-mode-* naming convention, and just call them ignore-coverage-map and ignore-coverage-run.

r? jieyouxu

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Oct 8, 2024

@rust-timer

Rollup merge of rust-lang#131400 - Zalathar:ignore-coverage, r=jieyouxu

Simplify the compiletest directives for ignoring coverage-test modes

Follow-up to rust-lang#131346.

Given that these directives are now restricted to ignoring coverage-test modes only, we can drop the clunky ignore-mode-* naming convention, and just call them ignore-coverage-map and ignore-coverage-run.

r? jieyouxu

flip1995 pushed a commit to flip1995/rust that referenced this pull request

Oct 18, 2024

@bors

…iaskrgr

Rollup of 4 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

Labels

A-testsuite

Area: The testsuite used to check the correctness of rustc

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)