mesa/tests: Add tests for _mesa_lookup_enum_by_{name,nr} functions
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/mesa/main/tests check
|
||||
$(MAKE) -C src/glsl/tests check
|
||||
$(MAKE) -C src/glx/tests check
|
||||
|
||||
|
@@ -2170,6 +2170,7 @@ AC_CONFIG_FILES([configs/autoconf
|
||||
src/mapi/shared-glapi/Makefile
|
||||
src/gtest/Makefile
|
||||
src/mesa/libdricore/Makefile
|
||||
src/mesa/main/tests/Makefile
|
||||
src/mesa/drivers/dri/dri.pc
|
||||
src/mesa/drivers/dri/Makefile
|
||||
src/mesa/drivers/dri/common/Makefile
|
||||
|
17
src/mesa/main/tests/Makefile.am
Normal file
17
src/mesa/main/tests/Makefile.am
Normal file
@@ -0,0 +1,17 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_builddir)/src/gtest/include \
|
||||
-I$(top_builddir)/src/mapi \
|
||||
-I$(top_builddir)/src/mesa \
|
||||
-I$(top_builddir)/include \
|
||||
$(X11_CFLAGS)
|
||||
|
||||
TESTS = main-test
|
||||
check_PROGRAMS = main-test
|
||||
|
||||
main_test_SOURCES = \
|
||||
enum_strings.cpp
|
||||
|
||||
main_test_LDADD = \
|
||||
$(top_builddir)/src/mesa/libmesa.a \
|
||||
$(top_builddir)/src/gtest/libgtest.la \
|
||||
-lpthread
|
1856
src/mesa/main/tests/enum_strings.cpp
Normal file
1856
src/mesa/main/tests/enum_strings.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user