On 3/27/26 15:32, Andrew Morton wrote:

whinges, perrmanits, maybe I'm doing it wrong, etc.

a)

At the top-level, neither `make mrproper' nor `make clean' remove the
executables from tools/testing/selftests/mm/.  Seems wrong?

make kselftest-all from top level builds the tests
make kselftest builds and runs the default tests.
make kselftest-clean from top level does this.

Also you can run,

make -C tools/testing/selftests/mm clean

As for mrproper support, I just applied a patch that adds kselftest
test to mrproper cleanup to linux kelftest next.


b)

Shouldn't I be able to run

        make selftests

make kselftest is the one that does that.

Documentation/dev-tools/kselftest.rst documents different ways to
run the tests.

thanks,
-- Shuah

Reply via email to