mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
glsl/tests: call create_test_cases.py in optimization-test
This way, when someone modifies create_test_cases.py and forgets to commit their changes again, people will notice. v2: make sure we parse the right directories and check for existance the right way. v3 (Ken): Use $PYTHON2 instead of calling python directly. Signed-off-by: Connor Abbott <cwabbott0@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
6e24111b9c
commit
a1d8322fbb
1 changed files with 8 additions and 0 deletions
|
|
@ -9,6 +9,14 @@ fi
|
|||
total=0
|
||||
pass=0
|
||||
|
||||
echo "====== Generating tests ======"
|
||||
for dir in tests/*/; do
|
||||
if [ -e "${dir}create_test_cases.py" ]; then
|
||||
cd $dir; $PYTHON2 create_test_cases.py; cd ..
|
||||
fi
|
||||
echo "$dir"
|
||||
done
|
||||
|
||||
echo "====== Testing optimization passes ======"
|
||||
for test in `find . -iname '*.opt_test'`; do
|
||||
echo -n "Testing $test..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue