Re: [PATCH] kunit: Reset suite counter right before running tests

2023-10-07 Thread David Gow
On Thu, 5 Oct 2023 at 04:57, Michal Wajdeczko wrote: > > Today we reset the suite counter as part of the suite cleanup, > called from the module exit callback, but it might not work that > well as one can try to collect results without unloading a previous > test (either unintentionally or due to

[PATCH] kunit: Reset suite counter right before running tests

2023-10-04 Thread Michal Wajdeczko
Today we reset the suite counter as part of the suite cleanup, called from the module exit callback, but it might not work that well as one can try to collect results without unloading a previous test (either unintentionally or due to dependencies). For easy reproduction try to load the kunit-test