From e5b76a3b1329b4079f656367d1ab5fdcd5288356 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Sat, 8 Dec 2018 13:16:08 -0500 Subject: [PATCH] Run GUI tests under Travis using xvfb-run Closes https://github.com/wxWidgets/wxWidgets/pull/905 --- build/tools/travis-ci.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/tools/travis-ci.sh b/build/tools/travis-ci.sh index 04722165f9..2bb2c851c9 100755 --- a/build/tools/travis-ci.sh +++ b/build/tools/travis-ci.sh @@ -66,6 +66,12 @@ case $wxTOOLSET in pushd tests && ./test && popd echo -en 'travis_fold:end:script.testing\\r' + if [ "$(uname -s)" = "Linux" ]; then + echo 'Testing GUI...' && echo -en 'travis_fold:start:script.testing_gui\\r' + pushd tests && xvfb-run -a ./test_gui && popd + echo -en 'travis_fold:end:script.testing_gui\\r' + fi + echo 'Building samples...' && echo -en 'travis_fold:start:script.samples\\r' (test "$wxSKIP_SAMPLES" && echo 'SKIPPED') || make samples echo -en 'travis_fold:end:script.samples\\r'