equal
deleted
inserted
replaced
|
1 #!/bin/sh |
|
2 |
|
3 |
|
4 export DISPLAY=:42 |
|
5 Xvfb $DISPLAY -screen 0 1280x1024x24 & |
|
6 sleep 1 |
|
7 |
|
8 ret=0 |
|
9 DELAY=400 |
|
10 KILL_DELAY=$(($DELAY + 30)) |
|
11 timeout -k $KILL_DELAY $DELAY pytest --timeout=10 ./tests/tools |
|
12 ret=$? |
|
13 |
|
14 pkill -9 Xvfb |
|
15 |
|
16 exit $ret |