glsl: Convert the tests directory to automake.

This runs optimization-test and produces the usual automake test
output, which may be interesting to automated build systems.

This doesn't convert the tests to be individually exposed to the
automake runner, because automake doesn't like wildcards (due to being
nonportable in make, not that we care).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt 2012-04-16 09:53:29 -07:00
parent 86f270e0a9
commit cc7e0de009
4 changed files with 5 additions and 1 deletions

View file

@ -22,7 +22,7 @@ doxygen:
cd doxygen && $(MAKE)
check:
cd src/glsl/tests/ && ./optimization-test
make -C src/glsl/tests check
make -C tests check
clean:

View file

@ -2005,6 +2005,7 @@ AC_CONFIG_FILES([configs/autoconf
src/egl/wayland/wayland-egl/Makefile
src/egl/wayland/wayland-egl/wayland-egl.pc
src/egl/wayland/wayland-drm/Makefile
src/glsl/tests/Makefile
src/glx/Makefile
src/mapi/shared-glapi/Makefile
src/gtest/Makefile

1
src/glsl/tests/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
Makefile

View file

@ -0,0 +1,2 @@
TESTS = \
optimization-test