If make check does not pass, do not continue with other tests and dump logs

This commit is contained in:
Jakub Jelen 2020-01-08 12:46:41 +01:00
parent 3b40018f4d
commit c8e40a19db
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ script:
fi
- if [ "${DO_SIMULATION}" = "cac" ]; then
cd $TRAVIS_BUILD_DIR;
make check && sudo make install;
make check && sudo make install || (cat tests/*log && exit);
export LD_LIBRARY_PATH=/usr/local/lib;
cd src/tests/p11test/;
./p11test -s 0 -p 12345678 -i &