Skip to content

Commit 8eb045a

Browse files
committed
try to fix coverage again
1 parent ff25665 commit 8eb045a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

scripts/ci_build_and_test_in_container.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,17 @@ fi
103103

104104
if [[ "$*" == *--code-coverage* ]]; then
105105
or_die make -j ${NPROC} VERBOSE=1
106-
or_die make hpcReact_coverage
106+
107+
# create a wrapper that forces the flag
108+
install -d /usr/local/bin
109+
cat >/usr/local/bin/geninfo <<'EOF'
110+
#!/usr/bin/env bash
111+
exec /usr/bin/geninfo --ignore-errors mismatch "$@"
112+
EOF
113+
chmod +x /usr/local/bin/geninfo
114+
115+
116+
or_die make hpcReact_coverage VERBOSE=1
107117
cp -r ${HPCREACT_BUILD_DIR}/hpcReact_coverage.info.cleaned /tmp/hpcReact/hpcReact_coverage.info.cleaned
108118
fi
109119

0 commit comments

Comments
 (0)