acb5f98231
Instead of requiring a special environment variable to skip tests which require a special X11 environment, skip these tests by default and have users opt-in with the DO_X11_TESTS environment variable. Signed-off-by: Brian Nguyen <brnguyen@nvidia.com>
14 lines
317 B
Bash
Executable file
14 lines
317 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 [ -z "$DO_X11_TESTS" ]; then
|
|
echo "Skipping test; requires environment init"
|
|
exit 77
|
|
fi
|
|
|
|
./testglxnscreens -i 100 -t 5
|