libglvnd/tests/testglxmcthreads.sh

11 lines
244 B
Bash
Executable File

#!/bin/sh
. $TOP_SRCDIR/tests/glxenv.sh
# We require pthreads be loaded before libGLX for correctness
LD_PRELOAD=libpthread.so.0
export LD_PRELOAD
# Run the make current test in a loop in multiple threads.
./testglxmakecurrent -t 5 -i 20000