Skip to content

Commit 7737eb4

Browse files
committed
bootstrap: Don't assume a compiletest suite path matches its suite name
1 parent 0520bce commit 7737eb4

File tree

1 file changed

+1
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
15811581
cmd.arg("--rust-demangler-path").arg(rust_demangler);
15821582
}
15831583

1584-
cmd.arg("--src-base").arg(builder.src.join("tests").join(suite));
1584+
cmd.arg("--src-base").arg(builder.src.join(suite_path));
15851585
cmd.arg("--build-base").arg(testdir(builder, compiler.host).join(suite));
15861586

15871587
// When top stage is 0, that means that we're testing an externally provided compiler.

0 commit comments

Comments
 (0)