test: make int test script lighter [ci skip]

This commit is contained in:
decentral1se 2023-09-25 16:45:08 +02:00
parent e1f900de14
commit e4610f8ad5
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 1 additions and 6 deletions

View File

@ -2,15 +2,10 @@
set -e
files=$(find ./tests/integration -name "*bats")
for f in $files; do
echo "running integration tests for $f..."
for f in $(find ./tests/integration -name "*.bats"); do
bats -Tp "$f"
res=$?
if [[ "$res" -ne 0 ]]; then
echo "failure in $f, bailing out..."
exit 1
fi
done