about summary refs log tree commit homepage
path: root/ci
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-09-18 10:15:09 +0000
committerEric Wong <e@80x24.org>2023-09-20 19:14:18 +0000
commitd6e792f9eb38258dd79eed7626b3cab1eb25cd1f (patch)
tree6c939f0243525fb67e3a5596cfd3e4a7247aab3d /ci
parent1febc5cbb633cf7eac7dcaf382dd0ebbfe085380 (diff)
downloadpublic-inbox-d6e792f9eb38258dd79eed7626b3cab1eb25cd1f.tar.gz
While parallelism isn't always a good thing, `make check'
has more verbose output to help us track down occasionally
failing tests.
Diffstat (limited to 'ci')
-rwxr-xr-xci/run.sh3
1 files changed, 2 insertions, 1 deletions
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