2022-02-06 12:06:27 +01:00
|
|
|
use std::process::Command;
|
|
|
|
|
|
|
|
|
|
pub fn hyperfine_raw_command() -> Command {
|
2026-10-02 10:54:51 +02:00
|
|
|
let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("hyperfine"));
|
2022-02-06 12:06:27 +01:00
|
|
|
cmd.current_dir("tests/");
|
|
|
|
|
cmd
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn hyperfine() -> assert_cmd::Command {
|
|
|
|
|
assert_cmd::Command::from_std(hyperfine_raw_command())
|
|
|
|
|
}
|