Run GUI tests under Travis using xvfb-run

Closes https://github.com/wxWidgets/wxWidgets/pull/905
This commit is contained in:
Scott Talbert 2018-12-08 13:16:08 -05:00 committed by Vadim Zeitlin
parent 7eeff36635
commit e5b76a3b13

View File

@ -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'