libglvnd/tests/glxenv.sh
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

7 lines
170 B
Bash

#!/bin/sh
__GLX_FORCE_VENDOR_LIBRARY_0=dummy
export __GLX_FORCE_VENDOR_LIBRARY_0
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TOP_BUILDDIR/tests/dummy/.libs
export LD_LIBRARY_PATH