Commit 68180808 by Carlos Martín Nieto

travis: really fail if the tests fail

When implementing the ssh testing, the move to the script made it so
the first test suite's exit code was ignored. Check whether the main
tests fail and exit with an error in that case.
parent 8f81ea45
......@@ -11,6 +11,11 @@ cd _build
cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
cmake --build . --target install
ctest -V .
ecode=$?
if [ $ecode -ne 0 ]; then
exit $ecode
fi
# Now that we've tested the raw git protocol, let's set up ssh to we
# can do the push tests over it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment