libglvnd/tests/testglxnscrthreads.sh
Brian Nguyen 402e5a8a4c [tests] Add testx11glvndproto and testglxnscreens subtests
testx11glvndproto tests specifically the GLVendor X extension, which is
used to lookup XID -> screen and screen -> vendor mappings in the
prototype.

testglxnscreens tests that the API library successfully dispatches GL
calls to the right vendor based on this lookup.
2013-08-26 11:03:43 -07:00

14 lines
318 B
Bash
Executable file

#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TOP_BUILDDIR/tests/GLX_dummy/.libs
# We require pthreads be loaded before libGLX for correctness
export LD_PRELOAD=libpthread.so.0
if [ -n "$SKIP_ENV_INIT" ]; then
echo "Skipping test; requires environment init"
exit 77
fi
./testglxnscreens -i 100 -t 5