Skip to content

Commit

Permalink
checks_run: fix coverage after recheck
Browse files Browse the repository at this point in the history
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
  • Loading branch information
trws committed Aug 5, 2024
1 parent 724b4a7 commit 6896c72
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/test/checks_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,10 @@ if test "$RECHECK" = "t" -a $RC -ne 0; then
# under ./t were run (and presumably failed)
#
if test -s t/t0000-sharness.trs; then
cd t
printf "::warning::make check failed, trying recheck in ./t\n"
checks_group "make recheck" ${MAKE} -j ${JOBS} recheck && \
(cd t ; checks_group "make recheck" ${MAKE} -j ${JOBS} recheck) && \
checks_group "${POSTCHECKCMDS}" "${POSTCHECKCMDS}"
RC=$?
cd
else
printf "::warning::recheck requested but no tests in ./t were run\n"
fi
Expand Down

0 comments on commit 6896c72

Please sign in to comment.