yes, the python3-license-expression ptest is fast and v4 sent to add python3-license-expression to PTESTS_FAST.
Thanks, ________________________________ From: Alexander Kanavin <alex.kana...@gmail.com> Sent: Monday, December 18, 2023 17:26 To: Yu, Mingli <mingli...@windriver.com> Cc: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> Subject: Re: [OE-core] [PATCH v3] python3-license-expression: Fix the ptest failure CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Mon, 18 Dec 2023 at 10:13, Yu, Mingli <mingli...@eng.windriver.com> wrote: > > From: Mingli Yu <mingli...@windriver.com> > > Fix the below ptest failure: > self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle> > def test_skeleton_codestyle(self): > """ > This test shouldn't run in proliferated repositories. > """ > setup_cfg = configparser.ConfigParser() > setup_cfg.read("setup.cfg") > > if setup_cfg["metadata"]["name"] != "skeleton": > tests/test_skeleton_codestyle.py:22: > self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata' > def _getitem_(self, key): > if key != self.default_section and not self.has_section(key): > > raise KeyError(key) > E KeyError: 'metadata' I went and checked why this isn't seen on the autobulder - this ptest is actually excluded from testing because it's in PTESTS_PROBLEMS. Please add it to PTESTS_FAST (if it's quick enough), and then it's good. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#192685): https://lists.openembedded.org/g/openembedded-core/message/192685 Mute This Topic: https://lists.openembedded.org/mt/103239607/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-