chiark
/
gitweb
/
~ian
/
subdirmk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doctests: Rename `desc' etc. in extract-doctest from `rubric'
[subdirmk.git]
/
tests
/
check
diff --git
a/tests/check
b/tests/check
index 409865513d467a11e2730a18cc5c26d73b51adb6..1921877bb0ffc0798128ffb65a7c7bb4b8eae12c 100755
(executable)
--- a/
tests/check
+++ b/
tests/check
@@
-1,6
+1,9
@@
-#!/bin/sh
+#!/bin/
ba
sh
set -e
+j=$(nproc 2>/dev/null || echo 1)
+j=$(( $j * 5 / 4 + 1 ))
+
x () { echo "$@"; "$@"; }
-x ${MAKE-make} -f tests/tests.mk -j
8
+x ${MAKE-make} -f tests/tests.mk -j
$j
echo 'ok.'