summaryrefslogtreecommitdiffstats
path: root/tests/getopts.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-05-30 11:27:22 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-05-30 12:09:13 -0400
commitfcad266fd1d1524601cc0d0bd952a0f250946bed (patch)
treeff5f77e0d4010b2be9ff7d489dbc82e761d6265a /tests/getopts.sh
parent397181df7c7372bdf4897296dabe386fa4212ea8 (diff)
downloadbfs-fcad266fd1d1524601cc0d0bd952a0f250946bed.tar.xz
tests: Try harder to guess a good parallelism level
Diffstat (limited to 'tests/getopts.sh')
-rw-r--r--tests/getopts.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/getopts.sh b/tests/getopts.sh
index 255f2fa..cbb3ce4 100644
--- a/tests/getopts.sh
+++ b/tests/getopts.sh
@@ -5,11 +5,7 @@
## Argument parsing
-if command -v nproc &>/dev/null; then
- JOBS=$(nproc)
-else
- JOBS=1
-fi
+JOBS=$(nproc)
MAKE=
PATTERNS=()
SUDO=()