3 ms·
If Linus doesn't like unit tests, can't a separate entity keep their own independent unit test repository, test the kernel against it and report regressions? I
by biryani_chicken 5y ago
If Linus doesn't like unit tests, can't a separate entity keep their own independent unit test repository, test the kernel against it and report regressions? I think it would be a worthy project.
- mh- 5y agoThere's this: https://github.com/linux-test-project/ltp https://github.com/linux-test-project/ltp
- nijave 5y agoDepending on the stability of the interfaces, you introduce a game of cat-and-mouse of sorts where people make test breaking changes but some other entity is constantly trying to keep the tests update. Maybe, less of an issue if you're not making changes that require test refactoring (which probably also comes down to the quality of the test)
- nitrogen 5y agoI haven't read it in years, but last time I did Phoronix was doing this implicitly by running every new kernel against the Phoronix Test Suite.