On 11/16/24 10:59 PM, Pasha Tatashin wrote:
Add self tests for Page Detective, it contains testing of several memory types, and also some negative/bad input tests.
Signed-off-by: Pasha Tatashin pasha.tatashin@soleen.com
MAINTAINERS | 1 + tools/testing/selftests/Makefile | 1 + .../selftests/page_detective/.gitignore | 1 +
No need to add a new directory. Please just add the tests in selftests/mm/ directory.
.../testing/selftests/page_detective/Makefile | 7 + tools/testing/selftests/page_detective/config | 4 + .../page_detective/page_detective_test.c | 727 ++++++++++++++++++ 6 files changed, 741 insertions(+) create mode 100644 tools/testing/selftests/page_detective/.gitignore create mode 100644 tools/testing/selftests/page_detective/Makefile create mode 100644 tools/testing/selftests/page_detective/config create mode 100644 tools/testing/selftests/page_detective/page_detective_test.c