]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add py.test to the list of tested pytest names
authorMichal Nowak <mnowak@isc.org>
Thu, 13 May 2021 15:24:57 +0000 (17:24 +0200)
committerMichal Nowak <mnowak@isc.org>
Mon, 17 May 2021 09:12:43 +0000 (11:12 +0200)
OpenBSD changed the name of the pytest script from py.test-3 in OpenBSD
6.8 to py.test in OpenBSD 6.9.

The py.test-3 name which was added in d5562a3e for the sake of OpenBSD
and CentOS is still required for CentOS.

configure.ac

index 25189695342d63776486c44a16487eaf6a18de0c..013597bdc9437e80c31c3cf1f7cc2d6e286ed19b 100644 (file)
@@ -303,7 +303,7 @@ AM_CONDITIONAL([HAVE_PERLMOD_TIME_HIRES],
 AM_PATH_PYTHON([3.4], [], [:])
 AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != ":"])
 
-AC_PATH_PROGS([PYTEST], [pytest-3 py.test-3 pytest pytest-pypy], [])
+AC_PATH_PROGS([PYTEST], [pytest-3 py.test-3 pytest py.test pytest-pypy], [])
 AS_IF([test -z "$PYTEST"],
       [AC_MSG_WARN([pytest not found, some system tests will be skipped])])
 AC_SUBST([PYTEST])