mirror of
https://github.com/tests-always-included/mo.git
synced 2025-01-02 21:56:40 +00:00
24 lines
391 B
Plaintext
24 lines
391 B
Plaintext
|
#!/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
|