Re: [PATCH v2 3/5] rosebush: Add test suite

From: Jeff Johnson
Date: Sat Jun 29 2024 - 01:14:00 EST


On 6/25/24 14:17, Matthew Wilcox (Oracle) wrote:
This is not a very sophisticated test suite yet, but it helped find
a few bugs and provides a framework for adding more tests as more
bugs are found.

Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
---
...
+static struct kunit_suite rosebush_suite = {
+ .name = "rosebush",
+ .test_cases = rosebush_cases,
+};
+
+kunit_test_suite(rosebush_suite);
+
+MODULE_AUTHOR("Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>");
+MODULE_LICENSE("GPL");

make W=1 will warn if there isn't also a MODULE_DESCRIPTION()