Re: [PATCH 0/7] Make core VMA operations internal and testable
From: Andrew Morton
Date: Wed Jul 03 2024 - 21:26:45 EST
On Thu, 4 Jul 2024 00:24:15 +0100 Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> wrote:
> The self tests differ from this and other tests using the userland-stubbed
> kernel approach in that they test system call invocation and assert
> expectations.
>
> My point to Andrew was that we could potentially automatically run these
> tests as part of a self-test run as they are so quick, at least in the
> future, if that made sense.
Yes, I was thinking we'd just add a selftest which does (simplified,
of course)
cd ../../vma
make
./whatever
simply to cause this new code to be invoked when someone runs the
selftest suite.