Files
dockerized-swg-src/utils/mocha/test_all_scripts.sh
T
2015-08-02 11:38:07 -05:00

16 lines
359 B
Bash
Executable File

#!/bin/bash
for filename in $(find /home/apathy/projects/swgnge/dsrc/sku.0/sys.server/compiled/game/script -type f \( -name '*.script' -o -name '*.scriptlib' \) -not -path "*/.deps/*"); do
OUTPUT=$(./test_script.py $filename)
if [[ ! -z "$OUTPUT" ]]; then
echo "
$OUTPUT
" >&2
else
echo -n .
fi
done
echo "Finished"