make: remove checks for python 2 binary

This commit removes the checks for the Python 2 binary in the makefile
and makes sure that ZDTM tests always use python3. Since support for
Python 2 has been dropped, these checks are no longer needed.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2023-06-22 00:06:53 +01:00 committed by Andrei Vagin
parent 642fd99bfd
commit ede018176c
32 changed files with 31 additions and 44 deletions

View file

@ -23,7 +23,7 @@ MAKE := make
MKDIR := mkdir -p
AWK := awk
PERL := perl
FULL_PYTHON := $(shell which python3 2>/dev/null || which python2 2>/dev/null)
FULL_PYTHON := $(shell which python3 2>/dev/null)
PYTHON ?= $(shell basename $(FULL_PYTHON))
FIND := find
SH := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \