From: SeongJae Park Date: Tue, 27 Aug 2024 03:03:29 +0000 (-0700) Subject: selftests/damon: cleanup __pycache__/ with 'make clean' X-Git-Tag: v6.12-rc1~115^2~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=582c04b07fa91665b4f38682c290fb9f0b085c7e;p=thirdparty%2Fkernel%2Flinux.git selftests/damon: cleanup __pycache__/ with 'make clean' Python-based tests creates __pycache__/ directory. Remove it with 'make clean' by defining it as EXTRA_CLEAN. Link: https://lkml.kernel.org/r/20240827030336.7930-3-sj@kernel.org Fixes: b5906f5f7359 ("selftests/damon: add a test for update_schemes_tried_regions sysfs command") Signed-off-by: SeongJae Park Cc: Brendan Higgins Cc: David Gow Signed-off-by: Andrew Morton --- diff --git a/tools/testing/selftests/damon/Makefile b/tools/testing/selftests/damon/Makefile index 1e2e98cc809d1..5b2a6a5dd1af7 100644 --- a/tools/testing/selftests/damon/Makefile +++ b/tools/testing/selftests/damon/Makefile @@ -25,4 +25,6 @@ TEST_PROGS += debugfs_target_ids_pid_leak.sh TEST_PROGS += sysfs_update_removed_scheme_dir.sh TEST_PROGS += sysfs_update_schemes_tried_regions_hang.py +EXTRA_CLEAN = __pycache__ + include ../lib.mk