Use $CARGO instead of cargo in test scripts

This commit is contained in:
Gary Guo 2023-12-30 21:53:33 +00:00
parent 06699c21b0
commit e9eefeed51
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
trap "rm -f run.log" EXIT
cargo run --release $BUILD_STD 2>&1 | tee run.log
${CARGO:-cargo} run --release $BUILD_STD 2>&1 | tee run.log
if [ $? -ne 134 ]; then
echo process is not aborted
exit 1

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
trap "rm -f run.log" EXIT
cargo run --release $BUILD_STD 2>&1 | tee run.log
${CARGO:-cargo} run --release $BUILD_STD 2>&1 | tee run.log
if [ $? -ne 134 ]; then
echo process is not aborted
exit 1

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
trap "rm -f run.log" EXIT
cargo run --release $BUILD_STD 2>&1 | tee run.log
${CARGO:-cargo} run --release $BUILD_STD 2>&1 | tee run.log
if [ $? -ne 134 ]; then
echo process is not aborted
exit 1