Files
ChatTTS/tests/testall.sh
2024-07-03 16:18:23 +09:00

18 lines
261 B
Bash
Executable File

#!/bin/sh
exitcode=0
for file in tests/*.py
do
echo "Testing $file..."
python "$file"
if [ $? -ne 0 ]
then
echo "Error: $file exited with a non-zero status."
exitcode=1
fi
echo "Test $file success"
done
exit $exitcode