Commit graph

4 commits

Author SHA1 Message Date
Kyle Brenneman bc674f798c tests: Use __GLX_FORCE_VENDOR_LIBRARY_0 for all of the GLX tests.
Set the environment variable __GLX_FORCE_VENDOR_LIBRARY_0 for all of the GLX
tests instead of __GLX_VENDOR_LIBRARY_NAME.

Individual tests can force libGLX to load a vendor library early by calling
glXGetClientString or similar.
2019-11-14 08:34:49 -07:00
Kyle Brenneman d1ce26f9a4 tests: Add a new test for GLX entrypoint generation.
Added a separate test program testglxgetprocaddress_genentry to test the GLX
entrypoint generation by itself instead of lumping that in with
testglxgetprocaddress.
2019-11-14 08:34:48 -07:00
Kyle Brenneman 82413e05ff Use sh instead of bash for the test scripts.
Not all systems have bash available, and in those that do, we can't assume that
it's located at /bin/bash.
2018-03-26 14:41:05 -06:00
Kyle Brenneman dc95a0eec0 tests: Add a test for generated GLX entrypoints.
Added a variation of testglxgetprocaddress that doesn't pre-load the vendor
library. This forces it to generate a GLX entrypoint at runtime for
glXExampleExtensionFunction.

In testglxgetprocaddress.c, added a call to glXGetClientString so that it will
load the vendor library without having to pre-load it.
2016-10-18 13:46:18 -06:00