Only run GUI tests for the selected wxGTK builds
The tests are known to fail for the other tested ports, so don't enable them for now. Also, using a special environment variable allows to detect when the test is being run under Xvfb, which behaves differently from the normal X server in some cases.
This commit is contained in:
		| @@ -66,8 +66,8 @@ 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' | ||||
|         if [ "$wxUSE_XVFB" = 1 ]; then | ||||
|             echo 'Testing GUI using Xvfb...' && 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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user