Skip to content

Commit d40a143

Browse files
testing an update in the execution command for Rust test files
1 parent cc615b6 commit d40a143

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

crates/intrinsic-test/src/common/compare.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,20 @@ pub fn compare_outputs(
2323
.find(|&special_target| special_target == target)
2424
.is_some()
2525
{
26+
// Command::new("sh")
27+
// .arg("-c")
28+
// .arg(format!(
29+
// "{runner} ./rust_programs/target/{target}/release/{intrinsic_name}",
30+
// ))
31+
// .output();
32+
2633
Command::new("sh")
34+
.current_dir("rust_programs")
2735
.arg("-c")
2836
.arg(format!(
29-
"{runner} ./rust_programs/target/{target}/release/{intrinsic_name}",
37+
"cargo {toolchain} run --target {target} --bin {intrinsic_name} --release",
3038
))
39+
.env("RUSTFLAGS", "-Cdebuginfo=0")
3140
.output()
3241
} else {
3342
Command::new("sh")

0 commit comments

Comments
 (0)