Bug 15801 - kmod: Possibly restore the kmod ptests
Summary: kmod: Possibly restore the kmod ptests
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 5.3
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 6.99
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-03-17 21:40 UTC by Randy MacLeod
Modified: 2026-01-09 19:15 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy MacLeod 2025-03-17 21:40:58 UTC
Investigate the test approach for kmod and add the ptests back if appropriate.

The run-ptest script was recently dropped (1) with a comment that 
the kmod ptest coverage was removed in 2015. Back in 2015, Qi Chen 
commented that:
   
    The ptest part of kmod is removed because new version of kmod port all tests to
    use modules from module-playground instead of copying prebuilt modules to the
    repository. So, we cannot use ptest as before. Remove it so that kmod can build
    successfully.



Surely there's a way that we could run these ptests that wouldn't be
too much work to maintain.



1) https://lists.openembedded.org/g/openembedded-core/message/212650