mesa/tests: Add tests for the generated dispatch table
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -25,6 +25,7 @@ doxygen:
|
||||
cd doxygen && $(MAKE)
|
||||
|
||||
check-local:
|
||||
$(MAKE) -C src/mapi/glapi/tests check
|
||||
$(MAKE) -C src/mesa/main/tests check
|
||||
$(MAKE) -C src/glsl/tests check
|
||||
$(MAKE) -C src/glx/tests check
|
||||
|
@@ -2168,6 +2168,7 @@ AC_CONFIG_FILES([configs/autoconf
|
||||
src/glx/Makefile
|
||||
src/glx/tests/Makefile
|
||||
src/mapi/shared-glapi/Makefile
|
||||
src/mapi/glapi/tests/Makefile
|
||||
src/gtest/Makefile
|
||||
src/mesa/libdricore/Makefile
|
||||
src/mesa/main/tests/Makefile
|
||||
|
15
src/mapi/glapi/tests/Makefile.am
Normal file
15
src/mapi/glapi/tests/Makefile.am
Normal file
@@ -0,0 +1,15 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_builddir)/src/gtest/include \
|
||||
-I$(top_builddir)/src/mapi \
|
||||
-I$(top_builddir)/include
|
||||
|
||||
TESTS = glapi-test
|
||||
check_PROGRAMS = glapi-test
|
||||
|
||||
glapi_test_SOURCES = \
|
||||
check_table.cpp
|
||||
|
||||
glapi_test_LDADD = \
|
||||
$(top_builddir)/src/mapi/glapi/libglapi.a \
|
||||
$(top_builddir)/src/gtest/libgtest.la \
|
||||
-lpthread
|
1676
src/mapi/glapi/tests/check_table.cpp
Normal file
1676
src/mapi/glapi/tests/check_table.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user