mesa/tests: Add tests for the generated shared-glapi dispatch table
These are largely based on the src/mapi/glapi/tests. However, shared-glapi provides less external visibility into the dispatch table, so there is less to test. Also, shared-glapi does not implement _glapi_get_proc_name, so that test was removed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
if HAVE_SHARED_GLAPI
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_builddir)/src/gtest/include \
|
||||
-I$(top_builddir)/src/mapi \
|
||||
-I$(top_builddir)/include
|
||||
|
||||
TESTS = shared-glapi-test
|
||||
check_PROGRAMS = shared-glapi-test
|
||||
|
||||
shared_glapi_test_SOURCES = \
|
||||
check_table.cpp
|
||||
|
||||
shared_glapi_test_LDADD = \
|
||||
$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
|
||||
$(top_builddir)/src/gtest/libgtest.la \
|
||||
-lpthread
|
||||
endif
|
||||
Reference in New Issue
Block a user