Skip to content

Commit

Permalink
Correctly locate bin executable in integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Feb 3, 2024
1 parent da91573 commit a641173
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crates/cli/tests/smoke/command_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ impl PackageCommand for Command {
bin_dir.pop();
}

let bin_path = bin_dir.join(env!("CARGO_PKG_NAME"));
assert!(bin_path.is_file(), "function not called from within an integration test");
bin_path
// TEMP: Checking if this fixes CI
bin_dir.join(env!("CARGO_BIN_EXE_rops"))

// let bin_path = bin_dir.join(env!("CARGO_PKG_NAME"));
// assert!(bin_path.is_file(), "function not called from within an integration test");
// bin_path
}
}
}
Expand Down

0 comments on commit a641173

Please sign in to comment.