Skip to content

Commit 4a475c0

Browse files
heynemaxakpm00
authored andcommitted
selftests/damon: add _damon_sysfs.py to TEST_FILES
When running selftests I encountered the following error message with some damon tests: # Traceback (most recent call last): # File "[...]/damon/./damos_quota.py", line 7, in <module> # import _damon_sysfs # ModuleNotFoundError: No module named '_damon_sysfs' Fix this by adding the _damon_sysfs.py file to TEST_FILES so that it will be available when running the respective damon selftests. Link: https://lkml.kernel.org/r/[email protected] Fixes: 306abb6 ("selftests/damon: implement a python module for test-purpose DAMON sysfs controls") Signed-off-by: Maximilian Heyne <[email protected]> Reviewed-by: SeongJae Park <[email protected]> Cc: Shuah Khan <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 4ae132c commit 4a475c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/damon/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TEST_GEN_FILES += debugfs_target_ids_read_before_terminate_race
66
TEST_GEN_FILES += debugfs_target_ids_pid_leak
77
TEST_GEN_FILES += access_memory access_memory_even
88

9-
TEST_FILES = _chk_dependency.sh _debugfs_common.sh
9+
TEST_FILES = _chk_dependency.sh _debugfs_common.sh _damon_sysfs.py
1010

1111
# functionality tests
1212
TEST_PROGS = debugfs_attrs.sh debugfs_schemes.sh debugfs_target_ids.sh

0 commit comments

Comments
 (0)