2019-10-03 15:33:52 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)"
|
|
|
|
|
2019-10-03 16:05:30 -07:00
|
|
|
test_status=0
|
2019-10-03 15:33:52 -07:00
|
|
|
test_files=( "$srcdir"/tests/tokenized/*.txt )
|
|
|
|
for tf in "${test_files[@]}"; do
|
|
|
|
test_name="$(basename "$tf")"
|
|
|
|
test_name="${test_name%.txt}"
|
2019-10-03 16:05:30 -07:00
|
|
|
"$srcdir"/tests/decompyle_test.sh $test_name tests || test_status=1
|
2019-10-03 15:33:52 -07:00
|
|
|
done
|
2019-10-03 16:05:30 -07:00
|
|
|
|
|
|
|
exit $test_status
|