summaryrefslogtreecommitdiffstats
path: root/mm/damon/core.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2024-08-27 05:03:35 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-09-04 06:15:58 +0200
commit9bfbaa5e44c52422a046ce291469c8ebeb6c475d (patch)
tree0be35bd8bade56ce20c3ab9c5ecd776d9d6c4f5b /mm/damon/core.c
parentmm/damon/dbgfs-test: skip dbgfs_set_init_regions() test if PADDR is not regis... (diff)
downloadlinux-9bfbaa5e44c52422a046ce291469c8ebeb6c475d.tar.xz
linux-9bfbaa5e44c52422a046ce291469c8ebeb6c475d.zip
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>
Diffstat (limited to 'mm/damon/core.c')
-rw-r--r--mm/damon/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/damon/core.c b/mm/damon/core.c
index 7a87628b76ab..086294279b07 100644
--- a/mm/damon/core.c
+++ b/mm/damon/core.c
@@ -2205,4 +2205,4 @@ static int __init damon_init(void)
subsys_initcall(damon_init);
-#include "core-test.h"
+#include "tests/core-kunit.h"