Skip to content

Commit

Permalink
scripts/repeat-e2e-test: also use --lib for cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Apr 10, 2024
1 parent b986afe commit 03abf0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/repeat-e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03abf0d

Please sign in to comment.