File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if type apt-get >/dev/null ; then
1313 CHROMEDRIVER=" chromedriver"
1414 fi
1515 sudo apt-get install libxml2-dev libxml2-utils libxslt1-dev python-dev \
16- $BROWSERS zip sqlite3 python-pip libcurl4-openssl-dev \
16+ $BROWSERS zip sqlite3 python-pip libcurl4-openssl-dev xvfb \
1717 libssl-dev $CHROMEDRIVER
1818elif type brew > /dev/null ; then
1919 brew list python & > /dev/null || brew install python
Original file line number Diff line number Diff line change 3434 ./makecrx.sh
3535 echo " running tests"
3636 CRX_NAME=" ` ls -tr pkg/* .crx | tail -1` "
37- python2.7 test/chromium/script.py $CRX_NAME
37+ xvfb-run python2.7 test/chromium/script.py $CRX_NAME
3838fi
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ if [ "$1" == "--justrun" ]; then
6868 fi
6969else
7070 echo " running tests"
71- cfx test --profiledir=" $PROFILE_DIRECTORY " --verbose
71+ xvfb-run cfx test --profiledir=" $PROFILE_DIRECTORY " --verbose
7272fi
7373
7474popd
You can’t perform that action at this time.
0 commit comments