Skip to content

Commit 06d893e

Browse files
committed
checks_run: fix coverage after recheck
problem: after making it so that coverage can run after recheck, it tries to run the coverage gathering target in the wrong directory solution: only run the recheck in t
1 parent 0936ee8 commit 06d893e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/checks_run.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,10 @@ if test "$RECHECK" = "t" -a $RC -ne 0; then
241241
# under ./t were run (and presumably failed)
242242
#
243243
if test -s t/t0000-sharness.trs; then
244-
cd t
245244
printf "::warning::make check failed, trying recheck in ./t\n"
246-
checks_group "make recheck" ${MAKE} -j ${JOBS} recheck && \
245+
(cd t ; checks_group "make recheck" ${MAKE} -j ${JOBS} recheck) && \
247246
checks_group "${POSTCHECKCMDS}" "${POSTCHECKCMDS}"
248247
RC=$?
249-
cd
250248
else
251249
printf "::warning::recheck requested but no tests in ./t were run\n"
252250
fi

0 commit comments

Comments
 (0)