Commit 854d1195 authored by Christoph Cullmann's avatar Christoph Cullmann

add my stupid helper script to run the tests in Xvfb to avoid that they interfer with my work

parent 58456909
# want build dir as first parameter
# go to build dir or die
cd $BUILDDIR || exit 1
# start Xvfb
Xvfb :7 -ac >/dev/null 2>&1 &
# save pid for later kill
# wait bit for X
echo "Waiting for Xvfb with pid $XPID to launch..."
sleep 2
# execute tests on that screen
DISPLAY=:7 make test
# kill the poor X again
echo "Killing Xvfb with pid $XPID..."
kill $XPID
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment