Skip to content

Commit 26990d9

Browse files
committed
fixup
1 parent c13fbc4 commit 26990d9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ci/run.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ echo "RUSTFLAGS=${RUSTFLAGS}"
2121
echo "FEATURES=${FEATURES}"
2222
echo "OBJDUMP=${OBJDUMP}"
2323

24-
cargo_test="cargo test --all --target=$TARGET --features $FEATURES --verbose -- --nocapture"
24+
function cargo_test {
25+
cmd="cargo test --all --target=$TARGET --features $FEATURES --verbose $1 -- --nocapture $2"
26+
$cmd
27+
}
2528

26-
$cargo_test
27-
$cargo_test --release
29+
cargo_test
30+
cargo_test "--release"

0 commit comments

Comments
 (0)