changeset 1820 | 76f5eba31afd |
child 1825 | bcb50e736a46 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/tools/run_python_tests.sh Sat Sep 16 21:26:17 2017 +0300 @@ -0,0 +1,16 @@ +#!/bin/sh + + +export DISPLAY=:42 +Xvfb $DISPLAY -screen 0 1280x1024x24 & +sleep 1 + +ret=0 +DELAY=400 +KILL_DELAY=$(($DELAY + 30)) +timeout -k $KILL_DELAY $DELAY pytest --timeout=10 ./tests/tools +ret=$? + +pkill -9 Xvfb + +exit $ret