From: Lars Ingebrigtsen Date: Wed, 24 Feb 2021 22:55:05 +0000 (+0100) Subject: Include a "make check-maybe" in the admin/emake script X-Git-Tag: emacs-28.0.90~3554 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=97ab85c78ed2ce22ec8c72482f460890a01b00c2;p=emacs.git Include a "make check-maybe" in the admin/emake script --- diff --git a/admin/emake b/admin/emake index d9aa4ea74bd..e95b17dbdc2 100755 --- a/admin/emake +++ b/admin/emake @@ -83,3 +83,9 @@ do [[ "X${REPLY:0:3}" == "X " ]] && C="\033[1;31m" [[ "X$C" == "X" ]] && printf "%s\n" "$REPLY" || printf "$C%s\033[0m\n" "$REPLY" done + +# Run a "make check" on all test files belonging to files that have +# changed since last time. +make -j$cores check-maybe 2>&1 | \ + sed -n '/contained unexpected results/,$p' | \ + egrep --line-buffered -v "^make"