Browse Source

Specify server and display

Thomas Buck 10 years ago
parent
commit
bb161048ce
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      cmake/travis_after_success_linux.sh

+ 4
- 2
cmake/travis_after_success_linux.sh View File

@@ -9,10 +9,12 @@ echo "set audiodir \".\"" >> OpenRaider.ini
9 9
 echo "set datadir \"../../data\"" >> OpenRaider.ini
10 10
 echo "set font \"../../data/test.ttf\"" >> OpenRaider.ini
11 11
 
12
-xvfb-run -a -s "+extension RANDR -screen 0 640x480x24" ./OpenRaider &
12
+set -o xtrace
13
+
14
+xvfb-run -n 99 -s "-screen 0 640x480x24" ./OpenRaider &
13 15
 sleep 5 # Wait for OpenRaider to start
14 16
 
15
-import -window root screenshot.png
17
+import -window root -display :99.0 screenshot.png
16 18
 
17 19
 # Find a better way for this!
18 20
 ls -la

Loading…
Cancel
Save