mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-24 10:26:38 +00:00
24 lines
391 B
Bash
24 lines
391 B
Bash
#!/usr/bin/env bash
|
|
|
|
cd "$(dirname "$0")" || exit 1
|
|
|
|
for TEST in $(cat meta-tests.txt); do
|
|
|
|
echo -n "meta:$TEST ... "
|
|
|
|
(
|
|
meta-tests/${TEST}.sh > /dev/null 2> /dev/null
|
|
)
|
|
|
|
statusCode=$?
|
|
|
|
if [[ $statusCode -ne 0 ]]; then
|
|
echo "FAIL (status code $statusCode)"
|
|
FAIL=$(( FAIL + 1 ))
|
|
else
|
|
echo "ok"
|
|
PASS=$(( PASS + 1 ))
|
|
fi
|
|
|
|
done
|