user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 1/8] ci/run: favor `make check' as the default target
  2023-09-18 10:15  5% [PATCH 0/8] portability odds and ends Eric Wong
@ 2023-09-18 10:15  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-09-18 10:15 UTC (permalink / raw)
  To: meta

While parallelism isn't always a good thing, `make check'
has more verbose output to help us track down occasionally
failing tests.
---
 ci/run.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ci/run.sh b/ci/run.sh
index 54563f1c..93790269 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -14,11 +14,12 @@ fi
 NPROC=${NPROC-$({ getconf _NPROCESSORS_ONLN || getconf NPROCESSORS_ONLN ||
 	gnproc || nproc || echo 2; } 2>/dev/null)}
 
+TEST_JOBS=${TEST_JOBS-1}
 $PERL -w ci/profiles.perl | while read args
 do
 	$DO $SUDO $PERL -w install/deps.perl -y --allow-remove $args
 	$DO $PERL Makefile.PL
 	$DO $MAKE -j${BUILD_JOBS-$NPROC}
-	$DO $MAKE -j${TEST_JOBS-1} ${TEST_TARGET-test}
+	$DO $MAKE ${TEST_TARGET-check} N=${N-$TEST_JOBS}
 	$DO $MAKE clean >/dev/null
 done

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/8] portability odds and ends
@ 2023-09-18 10:15  5% Eric Wong
  2023-09-18 10:15  7% ` [PATCH 1/8] ci/run: favor `make check' as the default target Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2023-09-18 10:15 UTC (permalink / raw)
  To: meta

Nothing major, just a few things I noticed while working
on various *BSDs.

Eric Wong (8):
  ci/run: favor `make check' as the default target
  drop GNU nproc(1) support in favor of getconf(1)
  ipc: assume SOCK_SEQPACKET exists
  rename t/run.perl to xt/check-run
  makefile: avoid needless use of double-colon rules
  pop3d: split @FLOCK into $FLOCK_TMPL and @FLOCK_ORDER
  install/deps: more fixes
  makefile: avoid non-POSIX which(1)

 Documentation/include.mk     | 10 ++++++----
 MANIFEST                     |  2 +-
 Makefile.PL                  | 31 +++++++++++++++++--------------
 ci/run.sh                    |  5 +++--
 install/deps.perl            | 17 ++++++++++++-----
 lib/PublicInbox/IPC.pm       | 22 +++++++++-------------
 lib/PublicInbox/POP3D.pm     | 16 ++++++++--------
 t/nntpd.t                    |  2 +-
 t/run.perl => xt/check-run.t |  4 ++--
 9 files changed, 59 insertions(+), 50 deletions(-)
 rename t/run.perl => xt/check-run.t (98%)

^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-09-18 10:15  5% [PATCH 0/8] portability odds and ends Eric Wong
2023-09-18 10:15  7% ` [PATCH 1/8] ci/run: favor `make check' as the default target Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).