Make sure travis doesn't silently skip testing of some language
This commit is contained in:
parent
3f0072c7ca
commit
1ecd0bad31
2 changed files with 7 additions and 0 deletions
|
|
@ -205,6 +205,7 @@ script:
|
|||
- if test -n "$SWIGLANG"; then cflags=$($TRAVIS_BUILD_DIR/Tools/testflags.py --language $SWIGLANG --cflags --std=$CSTD --compiler=$CC) && echo $cflags; fi
|
||||
- if test -n "$SWIGLANG"; then cxxflags=$($TRAVIS_BUILD_DIR/Tools/testflags.py --language $SWIGLANG --cxxflags --std=$CPPSTD --compiler=$CC) && echo $cxxflags; fi
|
||||
- if test -n "$SWIGLANG"; then make -s check-$SWIGLANG-version; fi
|
||||
- if test -n "$SWIGLANG"; then make check-$SWIGLANG-enabled; fi
|
||||
- if test -n "$SWIGLANG"; then make $SWIGJOBS check-$SWIGLANG-examples CFLAGS="$cflags" CXXFLAGS="$cxxflags"; fi
|
||||
- if test -n "$SWIGLANG"; then make $SWIGJOBS check-$SWIGLANG-test-suite CFLAGS="$cflags" CXXFLAGS="$cxxflags"; fi
|
||||
- echo 'Cleaning...' && echo -en 'travis_fold:start:script.3\\r'
|
||||
|
|
|
|||
|
|
@ -94,6 +94,12 @@ skip-android = test -n "@SKIP_ANDROID@"
|
|||
# Special errors test-case
|
||||
skip-errors = test -n ""
|
||||
|
||||
check-%-enabled:
|
||||
@if $(skip-$*); then \
|
||||
echo skipping $* version; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
#####################################################################
|
||||
# CHECK
|
||||
#####################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue