Re: [RFCv1 6/6] selftests/page_detective: Introduce self tests for Page Detective

From: Pasha Tatashin
Date: Mon Nov 18 2024 - 15:27:53 EST


On Sun, Nov 17, 2024 at 1:25 AM Muhammad Usama Anjum
<Usama.Anjum@xxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxx>
> > ---
> > 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.

Thanks, I will move this to selftests/mm/ directory in the next version.

>
> > .../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
>
> --
> BR,
> Muhammad Usama Anjum
>
>