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

Jeff Johnson quic_jjohnson at quicinc.com
Fri Jun 28 22:13:38 PDT 2024


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 at infradead.org>
> ---
...
> +static struct kunit_suite rosebush_suite = {
> +	.name = "rosebush",
> +	.test_cases = rosebush_cases,
> +};
> +
> +kunit_test_suite(rosebush_suite);
> +
> +MODULE_AUTHOR("Matthew Wilcox (Oracle) <willy at infradead.org>");
> +MODULE_LICENSE("GPL");

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




More information about the maple-tree mailing list