Skip to content

Commit

Permalink
Merge PR coq#19020: Compatibility of new fast "make report" with MacOS X
Browse files Browse the repository at this point in the history
Reviewed-by: SkySkimmer
Co-authored-by: SkySkimmer <[email protected]>
  • Loading branch information
coqbot-app[bot] and SkySkimmer authored May 15, 2024
2 parents e4df362 + 7f6b1b6 commit cf2842d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test-suite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ $(foreach S,$(VSUBSYSTEMS),$(eval $(call vdeps,$(S))))
# Summary
#######################################################################

summary_dir = echo $(1); find $(2) -name '*.log' -print0 | xargs -0 tail -q -n1 | sort
# using "-L 999" because some versions of tail do not accept more than ~1k arguments
summary_dir = echo $(1); find $(2) -name '*.log' -print0 | xargs -0 -L 999 tail -q -n1 | sort

.PHONY: summary summary.log

Expand Down
2 changes: 1 addition & 1 deletion test-suite/report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rm -rf "$SAVEDIR"
mkdir "$SAVEDIR"

FAILED=$(mktemp)
grep -F 'Error!' -r . -lZ --include="*.log" > "$FAILED"
grep -F 'Error!' -r . -l --null --include="*.log" > "$FAILED"

rsync -a --from0 --files-from="$FAILED" . "$SAVEDIR"
cp summary.log "$SAVEDIR"/
Expand Down

0 comments on commit cf2842d

Please sign in to comment.