glsl: Fix optimization tests after converting src/glsl to automake.
authorPaul Berry <stereotype441@gmail.com>
Tue, 31 Jan 2012 02:53:09 +0000 (18:53 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 31 Jan 2012 18:15:08 +0000 (10:15 -0800)
Commit 99476561 (automake: src/glsl and src/glsl/glcpp) changed the
build system so that src/glsl/glsl_test is not built by default.  This
inadvertently broke "make check", since the tests in
src/glsl/tests/lower_jumps (which are run by "make check") rely on
glsl_test.

This patch ensures that "make check" builds glsl_test before running
any tests.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Makefile

index 1fa369a96c7cd9d3212606fb513c068c917c0876..e593e7f0e136349d68ffa8778e47598c550c4641 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ doxygen:
        cd doxygen && $(MAKE)
 
 check:
+       cd src/glsl && $(MAKE) check
        cd src/glsl/tests/ && ./optimization-test
        make -C tests check