Docker: Fix coverage tests

This commit is contained in:
Ole Schütt 2019-04-16 22:58:44 +02:00 committed by Ole Schütt
parent 2e9fd7a34d
commit 5fed0928a6

View file

@ -25,6 +25,8 @@ make ARCH="${ARCH}" VERSION="${VERSION}" TESTOPTS="${TESTOPTS}" test
# As a workaround we'll simply remove the offending files for now.
rm -fv "/workspace/cp2k/obj/${ARCH}/${VERSION}"/almo_scf_types.gcda
rm -fv "/workspace/cp2k/obj/${ARCH}/${VERSION}"/mp2_types.gcda
rm -fv "/workspace/cp2k/obj/${ARCH}/${VERSION}"/exts/*/*.gcda
#cd /tmp
#for i in /workspace/cp2k/obj/${ARCH}/${VERSION}/*.gcda; do
# timeout 30 gcov $i >/dev/null 2>&1 || rm -v $i