From: Michał Kępień Date: Thu, 21 May 2020 09:33:11 +0000 (+0200) Subject: Add py.test-3 to the list of tested pytest names X-Git-Tag: v9.17.2~63^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d5562a3e;p=thirdparty%2Fbind9.git Add py.test-3 to the list of tested pytest names Some operating systems (e.g. CentOS, OpenBSD) install the main pytest script as "py.test-3". Add that name to the list of names passed to AC_PATH_PROGS() in order for pytest to be properly detected on a broader range of operating systems. --- diff --git a/configure.ac b/configure.ac index 680645c565e..d9a9c528f50 100644 --- a/configure.ac +++ b/configure.ac @@ -280,7 +280,7 @@ AM_CONDITIONAL([HAVE_PERLMOD_TIME_HIRES], AM_PATH_PYTHON([3.4], [], [:]) AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != ":"]) -AC_PATH_PROGS([PYTEST], [pytest-3 pytest pytest-pypy], []) +AC_PATH_PROGS([PYTEST], [pytest-3 py.test-3 pytest pytest-pypy], []) AS_IF([test -z "$PYTEST"], [AC_MSG_WARN([pytest not found, some system tests will be skipped])]) AC_SUBST([PYTEST])