mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
test: check for GNU parallel with --version options
The lastest versions of GNU parallel no longer make mention of GNU within their help output. This causes the test script to mistakenly use the moreutils parallel execution. In order to fix this, while maintaining compatibility with previous versions of GNU parallel, --version should be used. Signed-off-by: Tobias Backer Dirks <omgitsaheadcrab@gmail.com>
This commit is contained in:
parent
f8463d7374
commit
f2b5ad28e2
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ META_FAILURE=
|
|||
# Run the tests
|
||||
if test -z "$NOTMUCH_TEST_SERIALIZE" && command -v parallel >/dev/null ; then
|
||||
test -t 1 && export COLORS_WITHOUT_TTY=t || :
|
||||
if parallel -h | grep -q GNU ; then
|
||||
if parallel --version | grep -q GNU ; then
|
||||
echo "INFO: running tests with GNU parallel"
|
||||
printf '%s\n' $TESTS | $TEST_TIMEOUT_CMD parallel
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue