testing/tests/package/test_python: do not hardcode interpreter name
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 12 Jul 2017 02:40:07 +0000 (19:40 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Jul 2017 20:53:27 +0000 (22:53 +0200)
commitded5fa305985dff1585b1632697d2ee7297300b1
treeb7b80dfb3473ef0418a5163eb1e7d1b40e11dda9
parent97278ebddda2e757d71b092b063f04e9f748223c
testing/tests/package/test_python: do not hardcode interpreter name

In order to be able to leverage the same test code for testing
different python interpreters (or wrappers around CPython) allow child
classes of TestPythonBase to override the name of the executable used
to run tests.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/testing/tests/package/test_python.py