From 03abf0df2fbe69993f29aa59050eff8801e1ed46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Wed, 10 Apr 2024 10:34:10 +0100 Subject: [PATCH] scripts/repeat-e2e-test: also use `--lib` for cargo test --- scripts/repeat-e2e-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/repeat-e2e-test.sh b/scripts/repeat-e2e-test.sh index 2cdea0b47a..a1f06cb626 100755 --- a/scripts/repeat-e2e-test.sh +++ b/scripts/repeat-e2e-test.sh @@ -20,7 +20,7 @@ NIGHTLY=$(cat "$SCRIPTPATH"/../rust-nightly-version) for i in $(seq 1 "$NUM") do echo "Execution $i/$NUM" - if ! RUST_BACKTRACE=1 NAMADA_E2E_KEEP_TEMP=true NAMADA_E2E_DEBUG=true cargo "+$NIGHTLY" test "$TEST" -- --exact --test-threads=1 --nocapture; then + if ! RUST_BACKTRACE=1 NAMADA_E2E_KEEP_TEMP=true NAMADA_E2E_DEBUG=true cargo "+$NIGHTLY" test --lib "$TEST" -- --exact --test-threads=1 --nocapture; then exit 1 fi done