Tell Travis about Boost unit test name change
This commit is contained in:
parent
ad01dbd404
commit
bf8758afde
3 changed files with 6 additions and 6 deletions
|
@ -33,7 +33,7 @@ matrix:
|
|||
env: opt=-O0 CXXSTD=11 NLS=false
|
||||
|
||||
before_install:
|
||||
- export TARGETS="wesnoth wesnothd campaignd test"
|
||||
- export TARGETS="wesnoth wesnothd campaignd boost_unit_tests"
|
||||
- export STRICT_COMPILATION=false
|
||||
- export EXTRA_FLAGS_RELEASE=""
|
||||
- export WML_TESTS=true CPP_TESTS=false PLAY_TEST=true MP_TEST=true
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
gdb -q -batch -return-child-result -ex "run" -ex "thread apply all bt" -ex "quit" --args ./test
|
||||
gdb -q -batch -return-child-result -ex "run" -ex "thread apply all bt" -ex "quit" --args ./boost_unit_tests
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
#!/bin/bash
|
||||
COUNTER=10
|
||||
./test
|
||||
./boost_unit_tests
|
||||
ERRORCODE=$?
|
||||
while [ $COUNTER -gt 0 -a $ERRORCODE -eq 200 ]; do
|
||||
echo "test gave error code 200 (segfault).. trying again."
|
||||
echo "boost_unit_tests gave error code 200 (segfault).. trying again."
|
||||
COUNTER=$((COUNTER-1))
|
||||
./test
|
||||
./boost_unit_tests
|
||||
ERRORCODE=$?
|
||||
done
|
||||
if [ $ERRORCODE -eq 200 ]; then
|
||||
echo "test gave error code 200 ten times. suppressing this error...\n"
|
||||
echo "boost_unit_tests gave error code 200 ten times. suppressing this error...\n"
|
||||
ERRORCODE=0
|
||||
fi
|
||||
export TEST_ERROR_CODE="$ERRORCODE"
|
||||
|
|
Loading…
Add table
Reference in a new issue