diff options
author | Ian Romanick <[email protected]> | 2012-04-12 17:15:02 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-05-23 11:42:08 -0700 |
commit | b45052b3f761deb980bcca405f25e543892a93ee (patch) | |
tree | cf56fa13d3f137988c8209094675a3a872eb58a1 /src/glsl/tests/Makefile.am | |
parent | 49da2590c24529e44de9993e2981cc970cf0135b (diff) |
glsl/tests: Add test for uniform initialization by the linker
v2: Put unit tests in src/glsl/tests rather than tests/glsl.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/tests/Makefile.am')
-rw-r--r-- | src/glsl/tests/Makefile.am | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/src/glsl/tests/Makefile.am b/src/glsl/tests/Makefile.am index bfd97b3b831..7fcd9f61314 100644 --- a/src/glsl/tests/Makefile.am +++ b/src/glsl/tests/Makefile.am @@ -1,2 +1,26 @@ +INC = \ + -I$(top_builddir)/src/gtest/include \ + -I$(top_builddir)/src/mesa \ + -I$(top_builddir)/src/mapi \ + -I$(top_builddir)/src/glsl + +AM_CFLAGS = $(INC) +AM_CXXFLAGS = $(INC) + TESTS = \ - optimization-test + optimization-test \ + uniform-initializer-test + +check_PROGRAMS = \ + uniform-initializer-test + +uniform_initializer_test_SOURCES = \ + copy_constant_to_storage_tests.cpp \ + set_uniform_initializer_tests.cpp \ + uniform_initializer_utils.cpp + +uniform_initializer_test_LDADD = \ + $(top_builddir)/src/gtest/libgtest.la \ + $(top_builddir)/src/glsl/libglsl.a \ + $(top_builddir)/src/mesa/libmesa.a \ + -lpthread |