Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
export DISPLAY in script
Browse files Browse the repository at this point in the history
  • Loading branch information
arturadib committed Nov 21, 2011
1 parent e8f33e0 commit a8d52d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions run-makeref
Expand Up @@ -198,6 +198,8 @@ cp -f $SCRIPT_DIR/test-files/browser_manifest.json ./test/resources/browser_mani
# prepare Xvfb
Xvfb :1 1>/dev/null 2>/dev/null &
XVFB_PID=$!
export DISPLAY=:1
# bot_master
make bot_master &
wait $!
if [ $? != 0 ]; then
Expand Down
3 changes: 2 additions & 1 deletion run-test
Expand Up @@ -178,7 +178,8 @@ cp -f $SCRIPT_DIR/test-files/browser_manifest.json ./test/resources/browser_mani
# prepare Xvfb
Xvfb :1 1>/dev/null 2>/dev/null &
XVFB_PID=$!
# make bot_test
export DISPLAY=:1
# bot_test
make bot_test &
wait $! # so we can trap SIGTERM, see above
# kill Xvfb
Expand Down

0 comments on commit a8d52d3

Please sign in to comment.