Run GUI tests under Travis using xvfb-run
Closes https://github.com/wxWidgets/wxWidgets/pull/905
This commit is contained in:
committed by
Vadim Zeitlin
parent
7eeff36635
commit
e5b76a3b13
@@ -66,6 +66,12 @@ case $wxTOOLSET in
|
|||||||
pushd tests && ./test && popd
|
pushd tests && ./test && popd
|
||||||
echo -en 'travis_fold:end:script.testing\\r'
|
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'
|
echo 'Building samples...' && echo -en 'travis_fold:start:script.samples\\r'
|
||||||
(test "$wxSKIP_SAMPLES" && echo 'SKIPPED') || make samples
|
(test "$wxSKIP_SAMPLES" && echo 'SKIPPED') || make samples
|
||||||
echo -en 'travis_fold:end:script.samples\\r'
|
echo -en 'travis_fold:end:script.samples\\r'
|
||||||
|
Reference in New Issue
Block a user