Skip to content

Commit

Permalink
bootstrap: pass --src-root and --src-test-suite-root instead of `…
Browse files Browse the repository at this point in the history
…--src-base`
  • Loading branch information
jieyouxu committed Feb 3, 2025
1 parent d0f0f04 commit dcc27f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1761,7 +1761,9 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
cmd.arg("--coverage-dump-path").arg(coverage_dump);
}

cmd.arg("--src-base").arg(builder.src.join("tests").join(suite));
cmd.arg("--src-root").arg(&builder.src);
cmd.arg("--src-test-suite-root").arg(builder.src.join("tests").join(suite));

cmd.arg("--build-base").arg(testdir(builder, compiler.host).join(suite));

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

0 comments on commit dcc27f0

Please sign in to comment.