diff --git a/tests/integration.rs b/tests/integration.rs index bb12ac695ff1..97af745505ff 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -175,9 +175,11 @@ fn integration_test_rustc() { .strip_prefix("commit-hash: ") .expect("failed parsing commit line"); + dbg!(&commit); // check out the commit in the rustc repo to ensure clippy is compatible let st_git_checkout = Command::new("git") + .current_dir("rust") .arg("checkout") .arg(commit) .status() @@ -186,7 +188,7 @@ fn integration_test_rustc() { let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")); let target_dir = std::path::Path::new(&root_dir).join("target"); - let clippy_binary = target_dir.join(env!("PROFILE")).join(CARGO_CLIPPY); + // let clippy_binary = target_dir.join(env!("PROFILE")).join(CARGO_CLIPPY); // we need to make sure that `x.py clippy` picks up our self-built clippy // try to make the target dir discoverable as PATH