3 ms·
Not in the Linux kernel. In the Linux kernel it has traditionally always been done by the developer sticking lots of printk statements into their code until th
by seanhunter 4y ago
Not in the Linux kernel. In the Linux kernel it has traditionally always been done by the developer sticking lots of printk statements into their code until they are happy with the outputs and then removing most of them. Make of that what you will.
- bonzini 4y agoLOL that is so false that is not even worth correcting.
- marcellus23 4y agoActually could you correct it? I don't know anything about the Linux kernel so I'm curious.
- seanhunter 4y agoI'll correct myself. That was how it was done circa 2000-2005, but my info was way out of date because I haven't followed kernel development much for a while. Here's some stuff about how it's done now. https://www.kernel.org/doc/html/latest/dev-tools/testing-overview.html https://www.kernel.org/doc/html/latest/dev-tools/testing-ove... Basically there is a system called KUnit for writing white box unit tests and there is code coverage to determine coverage as you would expect, then there are systems for static analysis and verifying assertions.
- deleted 4y ago[deleted]
- vfclists 4y agoThis is so wrong!!
- post-it 4y agoAs in that's not how it's done, or that's not how it should be done?