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>
This commit is contained in:
parent
61879eed1f
commit
9bfbaa5e44
@ -2205,4 +2205,4 @@ static int __init damon_init(void)
|
||||
|
||||
subsys_initcall(damon_init);
|
||||
|
||||
#include "core-test.h"
|
||||
#include "tests/core-kunit.h"
|
||||
|
@ -1145,4 +1145,4 @@ out:
|
||||
|
||||
module_init(damon_dbgfs_init);
|
||||
|
||||
#include "dbgfs-test.h"
|
||||
#include "tests/dbgfs-kunit.h"
|
||||
|
@ -1882,4 +1882,4 @@ out:
|
||||
}
|
||||
subsys_initcall(damon_sysfs_init);
|
||||
|
||||
#include "sysfs-test.h"
|
||||
#include "tests/sysfs-kunit.h"
|
||||
|
@ -730,4 +730,4 @@ static int __init damon_va_initcall(void)
|
||||
|
||||
subsys_initcall(damon_va_initcall);
|
||||
|
||||
#include "vaddr-test.h"
|
||||
#include "tests/vaddr-kunit.h"
|
||||
|
Loading…
Reference in New Issue
Block a user