]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/damon: move kunit tests to tests/ subdirectory with _kunit suffix
authorSeongJae Park <sj@kernel.org>
Tue, 27 Aug 2024 03:03:35 +0000 (20:03 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Sep 2024 04:15:58 +0000 (21:15 -0700)
commit9bfbaa5e44c52422a046ce291469c8ebeb6c475d
tree0be35bd8bade56ce20c3ab9c5ecd776d9d6c4f5b
parent61879eed1f180ff92c2324b24d06eeddcc9256bd
mm/damon: move kunit tests to tests/ subdirectory with _kunit suffix

There was a discussion about better places for kunit test code[1] and test
file name suffix[2].  Folowwing the conclusion, move kunit tests for DAMON
to mm/damon/tests/ subdirectory and rename those.

[1] https://lore.kernel.org/CABVgOS=pUdWb6NDHszuwb1HYws4a1-b1UmN=i8U_ED7HbDT0mg@mail.gmail.com
[2] https://lore.kernel.org/CABVgOSmKwPq7JEpHfS6sbOwsR0B-DBDk_JP-ZD9s9ZizvpUjbQ@mail.gmail.com

Link: https://lkml.kernel.org/r/20240827030336.7930-9-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: David Gow <davidgow@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/core.c
mm/damon/dbgfs.c
mm/damon/sysfs.c
mm/damon/tests/core-kunit.h [moved from mm/damon/core-test.h with 100% similarity]
mm/damon/tests/dbgfs-kunit.h [moved from mm/damon/dbgfs-test.h with 100% similarity]
mm/damon/tests/sysfs-kunit.h [moved from mm/damon/sysfs-test.h with 100% similarity]
mm/damon/tests/vaddr-kunit.h [moved from mm/damon/vaddr-test.h with 100% similarity]
mm/damon/vaddr.c