]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: set NFT_TEST_JOBS based on $(nproc)
authorThomas Haller <thaller@redhat.com>
Thu, 7 Sep 2023 22:07:23 +0000 (00:07 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 8 Sep 2023 09:50:41 +0000 (11:50 +0200)
commit6560e2fe6bbb6c60bb1e964b7ba881f98f3c2373
tree40aaa716d6313a9452fe4be0c75ecbdff1095350
parentd5df3b9e148af22d715173bc0cc1c02537c73b90
tests/shell: set NFT_TEST_JOBS based on $(nproc)

Choose 150% of $(nproc) for the default vlaue of NFT_TEST_JOBS
(rounded up). The minimal value chosen by default is 2.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/run-tests.sh