Re: [PATCH v3 6/7] tools: separate out shared radix-tree components

From: Mike Rapoport
Date: Tue Jul 23 2024 - 05:31:28 EST


On Mon, Jul 22, 2024 at 12:50:24PM +0100, Lorenzo Stoakes wrote:
> The core components contained within the radix-tree tests which provide
> shims for kernel headers and access to the maple tree are useful for
> testing other things, so separate them out and make the radix tree tests
> dependent on the shared components.
>
> This lays the groundwork for us to add VMA tests of the newly introduced
> vma.c file.
>
> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
> Reviewed-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
> ---
> tools/testing/radix-tree/Makefile | 68 +++----------------
> tools/testing/radix-tree/maple.c | 15 +---
> tools/testing/radix-tree/xarray.c | 10 +--
> tools/testing/shared/autoconf.h | 2 +
> tools/testing/{radix-tree => shared}/bitmap.c | 0
> tools/testing/{radix-tree => shared}/linux.c | 0

maybe tools/testing/lib

> .../{radix-tree => shared}/linux/bug.h | 0

and tools/testing/include?


--
Sincerely yours,
Mike.