-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Description
If I modify a file in the rustc source code (src/librustc_c*
), ./x.py test
is smart enough to rerun all tests. However, if I modify something in src/tools/compiletest
, then ./x.py test
still ignores the tests that completed successfully in the previous run.
Steps to reproduce:
- Run tests:
git clone [email protected]:rust-lang/rust.git
./x.py test
- Modify
compiletest
. For example, replace theexpected_output_path
function inruntest.rs
with:
fn expected_output_path(&self, _kind: &str) -> PathBuf {
panic!();
}
- Run tests again:
./x.py test
Expected output: some tests fail.
Actual output:
Build completed successfully in 0:13:13
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.