diff options
author | Gert Wollny <[email protected]> | 2018-06-05 22:26:42 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-08-11 12:32:42 +0200 |
commit | 8c89728889c8597984a3be9df5b9ffd740a14fc3 (patch) | |
tree | 124207dbe810cb8f57bf3da1715b3f36a5cdd788 /src/mesa/state_tracker/tests/Makefile.am | |
parent | 12316aa217b583a0e801c398d2101f9f5cd37073 (diff) |
mesa/st/tests: Add tests for array merge helper classes.
v2: - Define tests also in the meson.build file.
v4: - Check no-op mapping of all bits.
- Convert tests to the new class layout used in the merge evaulation.
- remove dependency on llvm in meson build (Thanks Dylan Baker for pointing
out that this might not needed)
Signed-off-by: Gert Wollny <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/tests/Makefile.am')
-rw-r--r-- | src/mesa/state_tracker/tests/Makefile.am | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/tests/Makefile.am b/src/mesa/state_tracker/tests/Makefile.am index a49ad3ee106..0665a880844 100644 --- a/src/mesa/state_tracker/tests/Makefile.am +++ b/src/mesa/state_tracker/tests/Makefile.am @@ -17,8 +17,10 @@ AM_CPPFLAGS = \ if HAVE_STD_CXX11 if HAVE_SHARED_GLAPI -TESTS = st-renumerate-test -check_PROGRAMS = st-renumerate-test +TESTS = st-renumerate-test \ + st-array-merge-test +check_PROGRAMS = st-renumerate-test \ + st-array-merge-test check_LIBRARIES = libmesa-st-tests-common.a endif @@ -34,7 +36,13 @@ st_renumerate_test_SOURCES = \ st_renumerate_test_LDFLAGS = \ $(LLVM_LDFLAGS) -st_renumerate_test_LDADD = \ +st_array_merge_test_SOURCES = \ + test_glsl_to_tgsi_array_merge.cpp + +st_array_merge_test_LDFLAGS = \ + $(LLVM_LDFLAGS) + +st_common_LDADD = \ libmesa-st-tests-common.a \ $(top_builddir)/src/mesa/libmesagallium.la \ $(top_builddir)/src/mapi/shared-glapi/libglapi.la \ @@ -44,4 +52,10 @@ st_renumerate_test_LDADD = \ $(GALLIUM_COMMON_LIB_DEPS) \ $(LLVM_LIBS) +st_renumerate_test_LDADD = \ + $(st_common_LDADD) + +st_array_merge_test_LDADD = \ + $(st_common_LDADD) + EXTRA_DIST = meson.build |