diff options
author | Carl Worth <[email protected]> | 2014-12-15 15:58:34 -0800 |
---|---|---|
committer | Carl Worth <[email protected]> | 2015-01-16 13:47:40 -0800 |
commit | 977ddecb69549c472233082095ba5a833b04291c (patch) | |
tree | ba24b1e21b6496309b0fa02ea0e6950427f73971 /src/glsl/Makefile.am | |
parent | ffcad3a54839bd6704b4cac5dfe9f52a4f299dae (diff) |
glsl: Add unit tests for blob.c
In addition to exercising all of the functions in blob.h, this
includes a stress test that forces some reallocing, and also tests to
verify the alignment and overrun-detection code in blob.c.
Diffstat (limited to 'src/glsl/Makefile.am')
-rw-r--r-- | src/glsl/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am index b2b74a9258a..01123bc151a 100644 --- a/src/glsl/Makefile.am +++ b/src/glsl/Makefile.am @@ -42,6 +42,7 @@ include Makefile.sources TESTS = glcpp/tests/glcpp-test \ glcpp/tests/glcpp-test-cr-lf \ + tests/blob-test \ tests/general-ir-test \ tests/optimization-test \ tests/sampler-types-test \ @@ -55,12 +56,18 @@ noinst_LTLIBRARIES = libglsl.la libglcpp.la check_PROGRAMS = \ glcpp/glcpp \ glsl_test \ + tests/blob-test \ tests/general-ir-test \ tests/sampler-types-test \ tests/uniform-initializer-test noinst_PROGRAMS = glsl_compiler +tests_blob_test_SOURCES = \ + tests/blob_test.c +tests_blob_test_LDADD = \ + $(top_builddir)/src/glsl/libglsl.la + tests_general_ir_test_SOURCES = \ $(top_srcdir)/src/mesa/main/imports.c \ $(top_srcdir)/src/mesa/program/prog_hash_table.c\ |