diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-11-28 20:08:17 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-11-28 20:08:19 +0100 |
commit | 2f89547fc95c01621ff8d0b1ea9c0b4097df3120 (patch) | |
tree | 788bb0db7c7fde37b94b773fc5dc647419766d9e /src | |
parent | dc730a31730ed580633e4218edfdc186d1865f2c (diff) |
tests: Fix selection of python version
According to documentation (and personal experience), AM_PATH_PYTHON
selects the highest version of python, no matter if major version is
different, which means if both python2 and 3 are available, 3 will be
chosen an PYTHON will point to "/.../python" which is python3. Apparently,
the macro cannot be easily used to pick highest python2 version.
As {vty,ctrl}_test_runner.py require python2 and are incompatible with
python3, let's instead rely on the system having a "python2" binary
available, which is the case in most distros.
Change-Id: If8e57924ed2c8da7ab7692f58a4bb5c5a970484f
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions