diff options
author | Kenneth Graunke <[email protected]> | 2012-05-21 19:23:48 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-05-30 21:49:41 -0700 |
commit | a44ccdc8760fdbd5ba5c01ffff3809fbfb364934 (patch) | |
tree | 468cbb77590300d8467e6852c5217561b794cccc /src/glsl/tests/Makefile.am | |
parent | 1559b2e2d7c0d9ddab0e186fcf855ea847152ef1 (diff) |
ralloc: Add some basic unit tests.
I started writing unit tests for a new piece of code, and discovered
they all failed due to a bug in ralloc. Clearly it needs a test suite.
v2: Rename to 'ralloc-test' and fix copyright date. (idr review)
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/tests/Makefile.am')
-rw-r--r-- | src/glsl/tests/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/tests/Makefile.am b/src/glsl/tests/Makefile.am index 7fcd9f61314..c1c74e75b57 100644 --- a/src/glsl/tests/Makefile.am +++ b/src/glsl/tests/Makefile.am @@ -9,9 +9,11 @@ AM_CXXFLAGS = $(INC) TESTS = \ optimization-test \ + ralloc-test \ uniform-initializer-test check_PROGRAMS = \ + ralloc-test \ uniform-initializer-test uniform_initializer_test_SOURCES = \ @@ -24,3 +26,6 @@ uniform_initializer_test_LDADD = \ $(top_builddir)/src/glsl/libglsl.a \ $(top_builddir)/src/mesa/libmesa.a \ -lpthread + +ralloc_test_SOURCES = ralloc_test.cpp $(top_builddir)/src/glsl/ralloc.c +ralloc_test_LDADD = $(top_builddir)/src/gtest/libgtest.la -lpthread |