On Sat, 20 Jul 2024 11:10:30 -0700 Kees Cook kees@kernel.org wrote:
Following from the recent KUnit file naming discussion[1], move all KUnit tests in lib/ into lib/tests/.
Link: https://lore.kernel.org/lkml/20240720165441.it.320-kees@kernel.org/ [1] Signed-off-by: Kees Cook kees@kernel.org
Strong-Acked-by: Steven Rostedt (Google) rostedt@goodmis.org
I was talking with Masami and asking him where the kunit test code lives and after pointing to lib/ I was disgusted with what I saw. I told him, "why isn't this in its own "tests/" directory"? And he mentioned this patch (which I forgot about).
So yes, please move it.
Thanks,
-- Steve
I can carry this in the hardening tree. To disrupt people as little as possible, I'm hoping to send this either at the end of -rc1 or early in -rc2. Cc: Andrew Morton akpm@linux-foundation.org Cc: Yury Norov yury.norov@gmail.com Cc: Rasmus Villemoes linux@rasmusvillemoes.dk Cc: David Gow davidgow@google.com Cc: "Jason A. Donenfeld" Jason@zx2c4.com Cc: Andy Shevchenko andy@kernel.org Cc: "Naveen N. Rao" naveen.n.rao@linux.ibm.com Cc: Anil S Keshavamurthy anil.s.keshavamurthy@intel.com Cc: "David S. Miller" davem@davemloft.net Cc: Masami Hiramatsu mhiramat@kernel.org Cc: Mark Brown broonie@kernel.org Cc: Matti Vaittinen mazziesaccount@gmail.com Cc: linux-hardening@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Cc: kunit-dev@googlegroups.com Cc: linux-trace-kernel@vger.kernel.org