mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
74579d8dab
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. Link: https://lkml.kernel.org/r/1ee720c265808168e0d75608e687607d77c36719.1722251717.git.lorenzo.stoakes@oracle.com Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Brendan Higgins <brendanhiggins@google.com> Cc: Christian Brauner <brauner@kernel.org> Cc: David Gow <davidgow@google.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Jan Kara <jack@suse.cz> Cc: Kees Cook <kees@kernel.org> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Rae Moar <rmoar@google.com> Cc: SeongJae Park <sj@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Pengfei Xu <pengfei.xu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
30 lines
716 B
Makefile
30 lines
716 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
.PHONY: clean
|
|
|
|
TARGETS = main idr-test multiorder xarray maple
|
|
CORE_OFILES = $(SHARED_OFILES) xarray.o maple.o test.o
|
|
OFILES = main.o $(CORE_OFILES) regression1.o regression2.o \
|
|
regression3.o regression4.o tag_check.o multiorder.o idr-test.o \
|
|
iteration_check.o iteration_check_2.o benchmark.o
|
|
|
|
targets: generated/map-shift.h generated/bit-length.h $(TARGETS)
|
|
|
|
include ../shared/shared.mk
|
|
|
|
main: $(OFILES)
|
|
|
|
idr-test.o: ../../../lib/test_ida.c
|
|
idr-test: idr-test.o $(CORE_OFILES)
|
|
|
|
xarray: $(CORE_OFILES) xarray.o
|
|
|
|
maple: $(CORE_OFILES) maple.o
|
|
|
|
multiorder: multiorder.o $(CORE_OFILES)
|
|
|
|
clean:
|
|
$(RM) $(TARGETS) *.o radix-tree.c idr.c generated/*
|
|
|
|
$(OFILES): $(SHARED_DEPS) *.h
|