|
|
Subscribe / Log in / New account

Driver regression testing with roadtest

Driver regression testing with roadtest

Posted Mar 19, 2022 0:55 UTC (Sat) by pmulholland (subscriber, #124686)
Parent article: Driver regression testing with roadtest

It’s great to see an open framework like this emerge for kernel testing.

I’ve designed and used proprietary frameworks like this for embedded systems testing (bare metal, RTOS and embedded Linux), and the complexity of mocking the hardware can really be chosen to be almost as shallow as the register and interrupt interface, or you can build out an entire virtual device, or something in between.

As an idea of how powerful python based regression testing can be, with some abstraction I’ve emulated I2C, USB, and even PCI devices using a few lines of python, with the kernel booting up and discovering them.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds