On Wed, Aug 27, 2025 at 08:17:33PM +0530, Bala-Vignesh-Reddy wrote:
Replaced relative path of kselftest.h and kselftest_harness.h to a non-relative path
Signed-off-by: Bala-Vignesh-Reddy reddybalavignesh9979@gmail.com
[...]
diff --git a/tools/testing/selftests/mm/cow.c b/tools/testing/selftests/mm/cow.c index d30625c18259..ccbb1958d467 100644 --- a/tools/testing/selftests/mm/cow.c +++ b/tools/testing/selftests/mm/cow.c @@ -27,7 +27,7 @@ #endif /* LOCAL_CONFIG_HAVE_LIBURING */
#include "../../../../mm/gup_test.h" -#include "../kselftest.h" +#include "kselftest.h" #include "vm_util.h" #include "thp_settings.h"
Well there are too many changes and I failed to apply this one on current mm-new. So I just manually change this with patch 1 applied.
This fails when I "cd tools/testing/selftests/mm/" and then make.
The Makefile in selftests/mm doesn't include ../Makefile so ../lib.mk doesn't know the new CFLAGS when I do build in selftests/mm directory.