From ec3f56d594aa217367f2c7c5e5d471a46fe2006e Mon Sep 17 00:00:00 2001 From: Don Porter Date: Mon, 22 Jun 2020 11:50:44 -0400 Subject: [PATCH] [LibOS] ltp: Only build the part required for testing --- LibOS/shim/test/ltp/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LibOS/shim/test/ltp/Makefile b/LibOS/shim/test/ltp/Makefile index bfe767da..28353205 100644 --- a/LibOS/shim/test/ltp/Makefile +++ b/LibOS/shim/test/ltp/Makefile @@ -16,8 +16,9 @@ $(SRCDIR)/configure: $(SRCDIR)/Makefile $(BUILDDIR)/runltp: $(SRCDIR)/configure cd $(SRCDIR) && ./configure - cd $(SRCDIR) && $(MAKE) all - cd $(SRCDIR) && $(MAKE) "DESTDIR=$(PWD)" SKIP_IDCHECK=1 install + cd $(SRCDIR) && $(MAKE) FILTER_OUT_DIRS=delete_module -C testcases/kernel/syscalls + cd $(SRCDIR) && $(MAKE) FILTER_OUT_DIRS=delete_module "DESTDIR=$(PWD)" -C runtest SKIP_IDCHECK=1 install + cd $(SRCDIR) && $(MAKE) FILTER_OUT_DIRS=delete_module "DESTDIR=$(PWD)" -C testcases/kernel/syscalls SKIP_IDCHECK=1 install $(TESTCASEDIR)/pal_loader: $(BUILDDIR)/runltp ln -sf $(call relative-to,$(dir $@),../../Runtime/pal_loader) $@