diff options
-rwxr-xr-x | src/glsl/tests/optimization-test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glsl/tests/optimization-test b/src/glsl/tests/optimization-test index 8ca7776919f..26a51be6980 100755 --- a/src/glsl/tests/optimization-test +++ b/src/glsl/tests/optimization-test @@ -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..." |