Build test then run them
We do not run the test suite at the `make check` stage here in order to have a better output.
This commit is contained in:
parent
7536bbde06
commit
be3e581eff
2 changed files with 5 additions and 1 deletions
|
@ -22,4 +22,4 @@ install:
|
|||
- ./.travis-ci-build libnfc
|
||||
script:
|
||||
- ./.travis-ci-build .
|
||||
- if [ "$BLD" = autotools ]; then (cd build-autotools && cutter test); fi
|
||||
- if [ "$BLD" = autotools ]; then (cd build-autotools && make check TESTS_ENVIRONMENT=SKIP_TESTS=1 && cutter test); fi
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -n "${SKIP_TESTS}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
export BASE_DIR="`dirname $0`"
|
||||
|
||||
if test -z "$NO_MAKE"; then
|
||||
|
|
Loading…
Add table
Reference in a new issue