.travis: Fail if tests fail
This commit is contained in:
parent
991bb8a141
commit
4b3c6dec07
|
@ -251,7 +251,7 @@ script:
|
||||||
fi;
|
fi;
|
||||||
fi
|
fi
|
||||||
- if [ -z "$HOST" -a "${DO_COVERITY_SCAN}" != "yes" -a -z "$DO_SIMULATION" ]; then
|
- 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
|
fi
|
||||||
- if [ ! -z "$HOST" -a "${DO_COVERITY_SCAN}" != "yes" ]; then
|
- if [ ! -z "$HOST" -a "${DO_COVERITY_SCAN}" != "yes" ]; then
|
||||||
make install;
|
make install;
|
||||||
|
@ -336,7 +336,7 @@ script:
|
||||||
fi
|
fi
|
||||||
- if [ "${DO_SIMULATION}" = "cac" ]; then
|
- if [ "${DO_SIMULATION}" = "cac" ]; then
|
||||||
cd $TRAVIS_BUILD_DIR;
|
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;
|
export LD_LIBRARY_PATH=/usr/local/lib;
|
||||||
cd src/tests/p11test/;
|
cd src/tests/p11test/;
|
||||||
./p11test -s 0 -p 12345678 -i &
|
./p11test -s 0 -p 12345678 -i &
|
||||||
|
|
Loading…
Reference in New Issue