test: make int test script lighter [ci skip]
This commit is contained in:
parent
e1f900de14
commit
e4610f8ad5
|
@ -2,15 +2,10 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
files=$(find ./tests/integration -name "*bats")
|
for f in $(find ./tests/integration -name "*.bats"); do
|
||||||
|
|
||||||
for f in $files; do
|
|
||||||
echo "running integration tests for $f..."
|
|
||||||
bats -Tp "$f"
|
bats -Tp "$f"
|
||||||
|
|
||||||
res=$?
|
res=$?
|
||||||
if [[ "$res" -ne 0 ]]; then
|
if [[ "$res" -ne 0 ]]; then
|
||||||
echo "failure in $f, bailing out..."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue