Skip to content
Snippets Groups Projects
Verified Commit 64553511 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

WIP: better failure output

parent 475a3e1c
No related branches found
No related tags found
No related merge requests found
Pipeline #45086 failed
......@@ -158,7 +158,7 @@ test:
- cat hash_pylib
# Run the actual tests. This starts a new docker container within which
# the tests run. The return value is stored in .docker/result
- /bin/sh ./run.sh
- /bin/sh ./run.sh | tee tox_output.log
# Save logs
- docker logs docker-caosdb-server-1 &> ../caosdb_log.txt
......@@ -177,6 +177,9 @@ test:
# the pyinttest docker writes the return value of the tests into the
# file result
- rc=`cat .docker/result`
- if [ "$r" != "0" ]; then
awk '/=+ FAILURES/, /=+ / && ! /=+ FAILURES/' tox_output.log;
fi;
- exit $rc
dependencies: [cert]
timeout: 3h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment