ChatTTS2 / tests /testall.sh
zhengr's picture
init
c02bdcd
raw
history blame contribute delete
261 Bytes
#!/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