[ Re-adding oe-devel to the CC list. ] On Wed, 22 Apr 2020 at 04:57, zangrc <[email protected]> wrote: > For the run-ptest file, I imitated the OSS with ptest enabled in meta-python, > but for the test component of python, it is difficult to make the output > format the same as automake.
For code using unittest, it's actually fairly simple, you just need a new unittest reporter implementation (about 10 lines of code) and then run the tests with that instead. Pytest has plugins for TAP output so automake-style output should be simple too. I'd endorse putting a new unittest class into the python3 recipe and a pytest plugin into the pytest recipe so that they are available for everyone to use. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#84031): https://lists.openembedded.org/g/openembedded-devel/message/84031 Mute This Topic: https://lists.openembedded.org/mt/73164566/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
