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

@ -21,7 +21,6 @@ tcp-conn-v6: tcp-conn-v6.c
test: tcp-constructor tcp-conn tcp-conn-v6
unshare -n sh -c "ip link set up dev lo; ./tcp-conn"
unshare -n sh -c "ip link set up dev lo; ./tcp-conn-v6"
python run.py ./$(RUN)
python3 run.py ./$(RUN)
.PHONY: test

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys, os
import hashlib