News for hackers. Stuff that matters.
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.
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
Re:How is the Linux kernel tested? by zenhack on Sunday March 29, 2020 @05:05PM (#22722724)
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.
Re:How is the Linux kernel tested? by vbezhenar on Sunday March 29, 2020 @11:21AM (#22719697)
That's how unit tests works.