On Thu, 2026-07-02 at 11:22 -0400, Trevor Gamblin via lists.openembedded.org wrote: > This is the second split of patches coming from a previous series[1] I > submitted. > > Changes are mostly to the existing test suites to clean minor issues up > (duplicated code, inconsistent Python syntax). The most significant > differences: > > - Clean up test_patch.py so that it doesn't print misleading CVE-related > messages for carried patches which aren't actually targeting CVEs - the > original code was written under this assumption, but it's incorrect. > - Add some new logic in the patchtest script so that when someone uses the > --directory option to test an entire directory of patches, but then aborts > the > run with CTRL+C, the whole test suite is properly cancelled rather than a > buggy skip forward into the next set of tests. > > Note that this was driven partially by Claude Code (Sonnet 4.6 and 4.7), but > I've gone back and reworked some of its changes before submission. > > Selftests still look OK: > > > ============================================================================ > > Testsuite summary for patchtest > > ============================================================================ > > # TOTAL: 38 > > # XPASS: 18 > > # XFAIL: 18 > > # XSKIP: 2 > > # PASS: 0 > > # FAIL: 0 > > # SKIP: 0 > > # ERROR: 0 > > ============================================================================ > > [1]: https://lists.openembedded.org/g/openembedded-core/message/237047 > > Trevor Gamblin (6): > patchtest: tests: base.py: remove duplicate Commit object > patchtest: tests: test_mbox.py: improve variable and message clarity, > fix whitespace > patchtest: tests: test_metadata.py: simplify SRC_URI collection, > remove unneeded import > patchtest: tests: test_patch.py: simplify source patch and upstream > status checking > patchtest: tests: test_python_pylint.py: use more Pythonic comparison, > fix indent > patchtest: correctly abort --directory test
This series may have caused: https://autobuilder.yoctoproject.org/valkyrie/#/builders/71/builds/4041 Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240082): https://lists.openembedded.org/g/openembedded-core/message/240082 Mute This Topic: https://lists.openembedded.org/mt/120084833/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
