Re:How is the Linux kernel tested?
by vbezhenar on Saturday March 28, 2020 @06:01PM
(#22714656)
Write hardware emulation for VM with any behaviour you want to test.
[ Parent
| on HN ]
Re:How is the Linux kernel tested?
by Bnshsysjab on Saturday March 28, 2020 @06:22PM
(#22714763)
Then I end up with a driver that conforms to emulated hardware and not it’s real counterpart
It seems like that's a concern with any testing strategy that mocks out some part of the system. Obviously there's no getting around actually testing against the hardware, but it seems like it could still be useful for the same reason tests with mock implementations are useful generally.