Peter Korsgaard
f697096a77
support/testing: drop python2 tests
...
Python2 for the target is about to get removed, so drop the tests using it.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr >
2022-02-09 22:07:33 +01:00
Ricardo Martincoski
ee6b37cf87
support/testing: use TestPythonPackageBase for python-incremental
...
Move the test script to be run on the target from inline in the test
case to a separate file.
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com >
Cc: Arnout Vandecappelle <arnout@mind.be >
Cc: Asaf Kahlon <asafka7@gmail.com >
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
Cc: Yegor Yefremov <yegorslists@googlemail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2018-11-13 20:55:45 +01:00
Ricardo Martincoski
35bcb54e1d
support/testing: add python-incremental tests
...
Add a simple test case that imports the module and asserts a version
string for a fake package is generated.
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com >
Cc: Asaf Kahlon <asafka7@gmail.com >
Cc: Yegor Yefremov <yegorslists@googlemail.com >
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2018-10-11 17:27:23 +02:00