|
|
Subscribe / Log in / New account

What about the opposite?

What about the opposite?

Posted Jul 9, 2025 7:08 UTC (Wed) by taladar (subscriber, #68407)
Parent article: Toward the unification of kselftests and KUnit

What about the opposite use-case? Is there a way to automatically run the kernel you are working on as a developer in a VM to run the KUnit tests easily without rebooting your development system all the time? Assuming you are working on some feature that doesn't require a specific bit of hardware of course or where the hardware could be exposed to the VM.


to post comments

What about the opposite?

Posted Jul 9, 2025 9:25 UTC (Wed) by kakashir (subscriber, #165721) [Link]

It's same to just run the code under developing + KUnit in a VM. I'm not sure your key point here, do it automatically ?

What about the opposite?

Posted Jul 9, 2025 10:01 UTC (Wed) by t-8ch (subscriber, #90907) [Link] (1 responses)

That is already supported by KUnit. Take a look at tools/testing/kunit/kunit.py.

What about the opposite?

Posted Jul 10, 2025 17:20 UTC (Thu) by jgg (subscriber, #55211) [Link]

tools/testing/kunit/kunit.py is great, I think it is really under appreciated!


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