testing/tests/package/test_python: add TestPython3
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 12 Jul 2017 02:40:06 +0000 (19:40 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Jul 2017 20:52:42 +0000 (22:52 +0200)
commit97278ebddda2e757d71b092b063f04e9f748223c
tree3428c15985a0309f8773a5ae507fcc0e7c23304e
parentb41fc898b45b1afa1362ef7f80eb065bccb42e35
testing/tests/package/test_python: add TestPython3

Add Python3 version of TestPython2 to make sure both versions of
Python get unit-tested.

Modify the code of libc_time_test() to support that change (convert
the code to use Python3-style "print").

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