Skip to content

Commit

Permalink
travis: Skip tests which is not buildable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitsutoshi Aoe committed Feb 11, 2017
1 parent 1f34359 commit 5a48fd3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ script:
- if [ "$TEST" != "--enable-tests" ]; then TESTS=(); fi
- shopt -s globstar;
RC=true; for T in ${TESTS[@]}; do echo "== $T ==";
if dist-newstyle/build/**/$SRC_BASENAME/**/build/$T/$T; then echo "= $T OK =";
else echo "= $T FAILED ="; RC=false; fi; done; $RC
;
if [ -x dist-newstyle/build/**/$SRC_BASENAME/**/build/$T/$T ]; then
if dist-newstyle/build/**/$SRC_BASENAME/**/build/$T/$T; then echo "= $T OK ="; else echo "= $T FAILED ="; RC=false; fi;
fi;
done; $RC

# EOF

0 comments on commit 5a48fd3

Please sign in to comment.