This way, when someone modifies create_test_cases.py and forgets to commit their changes again, people will notice.
Signed-off-by: Connor Abbott <cwabbo...@gmail.com> --- src/glsl/tests/optimization-test | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/glsl/tests/optimization-test b/src/glsl/tests/optimization-test index 8ca7776..d58e335 100755 --- a/src/glsl/tests/optimization-test +++ b/src/glsl/tests/optimization-test @@ -9,6 +9,13 @@ fi total=0 pass=0 +echo "====== Generating tests ======" +for dir in */; do + if [ -e "$dir/create_test_cases.py" ]; then + cd $dir; python create_test_cases.py; cd .. + fi +done + echo "====== Testing optimization passes ======" for test in `find . -iname '*.opt_test'`; do echo -n "Testing $test..." -- 1.8.3.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev