remove the play_test with gui from travis script, it doesn't work
This commit is contained in:
parent
b737b0af96
commit
3229d8e44b
1 changed files with 1 additions and 4 deletions
|
@ -47,18 +47,15 @@ script:
|
|||
- time if [ "$CPP_TESTS" = true ]; then ./test; export TEST_ERROR_CODE=$?; ./utils/travis/exit_wrapper.sh $TEST_ERROR_CODE; fi
|
||||
- if [ "$WML_TESTS" = true ]; then time ./run_wml_tests -g -v -t "$WML_TEST_TIME"; fi
|
||||
- time if [ "$PLAY_TEST" = true ]; then ./wesnoth -m --controller 1:ai --controller 2:ai --nogui; export PLAY_TEST_ERROR_CODE=$?; ./utils/travis/exit_wrapper.sh $PLAY_TEST_ERROR_CODE; fi
|
||||
- time if [ "$PLAY_TEST" = true ]; then ./wesnoth -m --controller 1:ai --controller 2:ai; export PLAY_TEST_GUI_ERROR_CODE=$?; ./utils/travis/exit_wrapper.sh $PLAY_TEST_GUI_ERROR_CODE; fi
|
||||
|
||||
after_failure:
|
||||
- if [[ "$TEST_ERROR_CODE" -ge 128 -o "$PLAY_TEST_ERROR_CODE" -ge 128 -o "$PLAY_TEST_GUI_ERROR_CODE" -ge 128 ]] && [[ "$WML_TESTS" = false ]]; then time sudo apt-get install -qq gdb; fi
|
||||
- if [[ "$TEST_ERROR_CODE" -ge 128 -o "$PLAY_TEST_ERROR_CODE" -ge 128 ]] && [[ "$WML_TESTS" = false ]]; then time sudo apt-get install -qq gdb; fi
|
||||
# Need to install that if we don't already have it
|
||||
- if [ -f "errors.log" ]; then echo -e "\n*** \n*\n* Errors reported in wml unit tests, here is errors.log...\n*\n*** \n"; cat errors.log; fi
|
||||
- if [ "$TEST_ERROR_CODE" -ge 128 ]; then echo -e "\n***\n*\n* Encountered a segfault in the c++ unit test executable, attempting to get a backtrace in the remaining time...\n*\n***\n"; fi
|
||||
- if [ "$TEST_ERROR_CODE" -ge 128 ]; then time gdb -q -batch -ex start -ex continue -ex bt -ex quit --args ./test; fi
|
||||
- if [ "$PLAY_TEST_ERROR_CODE" -ge 128 ]; then echo -e "\n***\n*\n* Encountered a segfault when running an ai test, attempting to get a backtrace in the remaining time...\n*\n***\n"; fi
|
||||
- if [ "$PLAY_TEST_ERROR_CODE" -ge 128 ]; then time gdb -q -batch -ex start -ex continue -ex bt -ex quit --args ./wesnoth -m --controller 1:ai --controller 2:ai --nogui; fi
|
||||
- if [ "$PLAY_TEST_GUI_ERROR_CODE" -ge 128 ]; then echo -e "\n***\n*\n* Encountered a segfault when running an ai test, attempting to get a backtrace in the remaining time...\n*\n***\n"; fi
|
||||
- if [ "$PLAY_TEST_GUI_ERROR_CODE" -ge 128 ]; then time gdb -q -batch -ex start -ex continue -ex bt -ex quit --args ./wesnoth -m --controller 1:ai --controller 2:ai; fi
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
|
Loading…
Add table
Reference in a new issue