mirror of https://github.com/dynup/kpatch
Top-level integration test make targets
Add integration_slow and integration_quick make targets to top-level makefile. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
6e5cb0011e
commit
f34bb2cfd7
10
Makefile
10
Makefile
|
@ -7,10 +7,12 @@ UNINSTALL_DIRS = $(SUBDIRS:%=uninstall-%)
|
|||
CLEAN_DIRS = $(SUBDIRS:%=clean-%)
|
||||
|
||||
UNITTEST_DIR = test/unit
|
||||
INTEGRATION_DIR = test/integration
|
||||
CLEAN_DIRS += clean-$(UNITTEST_DIR)
|
||||
|
||||
.PHONY: all install uninstall clean check unit
|
||||
.PHONY: $(SUBDIRS) $(BUILD_DIRS) $(INSTALL_DIRS) $(CLEAN_DIRS)
|
||||
.PHONY: integration integration-slow integration-quick
|
||||
|
||||
|
||||
all: $(BUILD_DIRS)
|
||||
|
@ -32,5 +34,13 @@ $(CLEAN_DIRS):
|
|||
unit: $(UNITTEST_DIR)/Makefile build-kpatch-build
|
||||
$(MAKE) -C $(UNITTEST_DIR)
|
||||
|
||||
integration: integration-quick
|
||||
|
||||
integration-slow: $(INTEGRATION_DIR)/Makefile build-kpatch-build build-kpatch build-kmod
|
||||
$(MAKE) -C $(INTEGRATION_DIR) slow
|
||||
|
||||
integration-quick: $(INTEGRATION_DIR)/Makefile build-kpatch-build build-kpatch build-kmod
|
||||
$(MAKE) -C $(INTEGRATION_DIR) quick
|
||||
|
||||
check:
|
||||
shellcheck kpatch/kpatch kpatch-build/kpatch-build kpatch-build/kpatch-gcc
|
||||
|
|
Loading…
Reference in New Issue