tests/glx: Add unit tests for GLX_ARB_create_context GLX protocol
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 16 Dec 2011 02:45:27 +0000 (18:45 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Jan 2012 20:41:45 +0000 (12:41 -0800)
commit3ef3ba4d2eee36f64062a21ce030c3f4d8c4cac4
treecb7b3bc1f1946f49cf597abd5fae30035223e308
parent8a4b36de05a133c1c9527836ca58bf8ebdf229bd
tests/glx: Add unit tests for GLX_ARB_create_context GLX protocol

This adds a new tests directory at the top-level and some extra build
infrastructure.  The tests use the Google C++ Testing Framework, and
they will only be built if configure can detect its availability.  The
tests are automatically wired-in to run with 'make check'.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Chad Versace <chad.versace@linux.intel.com>
Makefile
configure.ac
src/glx/Makefile
tests/Makefile.am [new file with mode: 0644]
tests/glx/Makefile.am [new file with mode: 0644]
tests/glx/clientinfo_unittest.cpp [new file with mode: 0644]
tests/glx/create_context_unittest.cpp [new file with mode: 0644]
tests/glx/fake_glx_screen.cpp [new file with mode: 0644]
tests/glx/fake_glx_screen.h [new file with mode: 0644]
tests/glx/mock_xdisplay.h [new file with mode: 0644]