After reading the kernel selftest document, I think this should be fixed from out tool
https://www.kernel.org/doc/html/v4.16/dev-tools/kselftest.html
We're running a subtest with: sudo make -C linux/tools/testing/selftests/$SUBTEST all run_tests
Base on the document, it should be: sudo make -C tools/testing/selftests TARGETS=$SUBTEST run_tests
After reading the kernel selftest document, I think this should be fixed from out tool
https:/ /www.kernel. org/doc/ html/v4. 16/dev- tools/kselftest .html
We're running a subtest with: testing/ selftests/ $SUBTEST all run_tests
sudo make -C linux/tools/
Base on the document, it should be: selftests TARGETS=$SUBTEST run_tests
sudo make -C tools/testing/