]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add py.test-3 to the list of tested pytest names
authorMichał Kępień <michal@isc.org>
Thu, 21 May 2020 09:33:11 +0000 (11:33 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 21 May 2020 09:38:39 +0000 (11:38 +0200)
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.

(cherry picked from commit d5562a3e7e9edf6d5ff8a7873f15dea42edb1fc4)

configure.ac

index 926c6a3e8a30f8192f7aa7b8c471c3c45d48e714..0afc416e0370e25418c6c98ce02f33d87265356f 100644 (file)
@@ -339,7 +339,7 @@ case "$INSTALL" in
                ;;
 esac
 
-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])