Skip to content

Commit 5f15a75

Browse files
committed
change how the test is run
1 parent d9ba47e commit 5f15a75

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

crates/intrinsic-test/src/main.rs

+7-19
Original file line numberDiff line numberDiff line change
@@ -594,29 +594,17 @@ fn compare_outputs(
594594
))
595595
.output();
596596

597-
let rust = if target != "aarch64_be-unknown-linux-gnu" {
598-
Command::new("sh")
599-
.current_dir("rust_programs")
600-
.arg("-c")
601-
.arg(format!(
597+
let rust = Command::new("sh")
598+
.current_dir("rust_programs")
599+
.arg("-c")
600+
.arg(format!(
602601
"cargo {toolchain} run --target {target} --bin {intrinsic} --release",
603602
intrinsic = intrinsic.name,
604603
toolchain = toolchain,
605604
target = target
606-
))
607-
.env("RUSTFLAGS", "-Cdebuginfo=0")
608-
.output()
609-
} else {
610-
Command::new("sh")
611-
.arg("-c")
612-
.arg(format!(
613-
"{runner} ./rust_programs/target/{target}/release/{intrinsic}",
614-
runner = runner,
615-
target = target,
616-
intrinsic = intrinsic.name,
617-
))
618-
.output()
619-
};
605+
))
606+
.env("RUSTFLAGS", "-Cdebuginfo=0")
607+
.output();
620608

621609
let (c, rust) = match (c, rust) {
622610
(Ok(c), Ok(rust)) => (c, rust),

0 commit comments

Comments
 (0)