Skip to content

Commit

Permalink
.travis: Fail if tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakuje committed Apr 13, 2021
1 parent 991bb8a commit 4b3c6de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -251,7 +251,7 @@ script:
fi;
fi
- if [ -z "$HOST" -a "${DO_COVERITY_SCAN}" != "yes" -a -z "$DO_SIMULATION" ]; then
make check && make dist || cat tests/*log;
make check && make dist || (cat tests/*log src/tests/unittests/*log && exit 1);
fi
- if [ ! -z "$HOST" -a "${DO_COVERITY_SCAN}" != "yes" ]; then
make install;
Expand Down Expand Up @@ -336,7 +336,7 @@ script:
fi
- if [ "${DO_SIMULATION}" = "cac" ]; then
cd $TRAVIS_BUILD_DIR;
make check && sudo make install || (cat tests/*log src/tests/unittests/*log && exit);
make check && sudo make install || (cat tests/*log src/tests/unittests/*log && exit 1);
export LD_LIBRARY_PATH=/usr/local/lib;
cd src/tests/p11test/;
./p11test -s 0 -p 12345678 -i &
Expand Down

0 comments on commit 4b3c6de

Please sign in to comment.