Use the correct python interpreter in runtestdefaultsupprs.py

* configure.ac: Make the PYTHON environemnt variable usable in
	auto-generated files.
	* tests/runtestdefaultsupprs.py.in: Use the python interpreter
	detected by configure.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2018-05-16 14:24:31 +02:00
parent d160c47cbf
commit 899cc4b601
2 changed files with 2 additions and 2 deletions

View File

@ -462,7 +462,7 @@ fi
AM_CONDITIONAL(ENABLE_FEDABIPKGDIFF, test x$ENABLE_FEDABIPKGDIFF = xyes)
AM_CONDITIONAL(ENABLE_RUNNING_TESTS_WITH_PY3, test x$RUN_TESTS_WITH_PY3 = xyes)
AM_CONDITIONAL(ENABLE_PYTHON3_INTERPRETER, test x$PYTHON3_INTERPRETER != xno)
AC_SUBST(PYTHON)
dnl Check for dependency: libzip
LIBZIP_VERSION=0.10.1

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env @PYTHON@
'''Runs tests for the default suppression specifications of libabigail.