From: Paul Berry Date: Tue, 31 Jan 2012 02:53:09 +0000 (-0800) Subject: glsl: Fix optimization tests after converting src/glsl to automake. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffe376d5a74dee837dc1a421de29ae551087630f;p=mesa.git glsl: Fix optimization tests after converting src/glsl to automake. 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 --- diff --git a/Makefile b/Makefile index 1fa369a96c7..e593e7f0e13 100644 --- 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