mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-01 09:10:03 +00:00
Merge pull request #4393 from gilles-peskine-arm/generate-tests-python3-make-2.x
Use Python 3 instead of Python 2 to generate test files
This commit is contained in:
commit
e7e958b1f1
3
ChangeLog.d/make-generate-tests-python.txt
Normal file
3
ChangeLog.d/make-generate-tests-python.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Changes
|
||||||
|
* When building the test suites with GNU make, invoke python3 or python, not
|
||||||
|
python2, which is no longer supported upstream.
|
@ -20,8 +20,6 @@ endif
|
|||||||
DLEXT ?= so
|
DLEXT ?= so
|
||||||
EXEXT=
|
EXEXT=
|
||||||
SHARED_SUFFIX=
|
SHARED_SUFFIX=
|
||||||
# python2 for POSIX since FreeBSD has only python2 as default.
|
|
||||||
PYTHON ?= python2
|
|
||||||
|
|
||||||
ifdef FUZZINGENGINE
|
ifdef FUZZINGENGINE
|
||||||
LOCAL_LDFLAGS += -lFuzzingEngine
|
LOCAL_LDFLAGS += -lFuzzingEngine
|
||||||
|
@ -53,8 +53,7 @@ else
|
|||||||
DLEXT ?= so
|
DLEXT ?= so
|
||||||
EXEXT=
|
EXEXT=
|
||||||
SHARED_SUFFIX=
|
SHARED_SUFFIX=
|
||||||
# python2 for POSIX since FreeBSD has only python2 as default.
|
PYTHON ?= $(shell if type python3 >/dev/null 2>/dev/null; then echo python3; else echo python; fi)
|
||||||
PYTHON ?= python2
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# A test application is built for each suites/test_suite_*.data file.
|
# A test application is built for each suites/test_suite_*.data file.
|
||||||
|
Loading…
Reference in New Issue
Block a user