build: make tests in test/ directly
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 6 Mar 2020 09:16:07 +0000 (10:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 6 Mar 2020 09:16:07 +0000 (10:16 +0100)
It is unnecessary to make _tests via Rules.mk because the target
use Rules.mk as well.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/Makefile

index 10bc4bf3646c3d1b358727b7fe01766ea889aa1e..8267ace51b0d999aec25e89fa805b5cf6aaee2d8 100644 (file)
@@ -51,8 +51,8 @@ dist: install
 
 build install:: include/config/auto.conf
 
-.PHONY: build install uninstall clean distclean MAP tests
-build install uninstall debug clean distclean MAP tests::
+.PHONY: build install uninstall clean distclean MAP
+build install uninstall debug clean distclean MAP::
 ifneq ($(XEN_TARGET_ARCH),x86_32)
        $(MAKE) -f Rules.mk _$@
 else
@@ -92,8 +92,8 @@ _install: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX)
                fi; \
        fi
 
-.PHONY: _tests
-_tests:
+.PHONY: tests
+tests:
        $(MAKE) -f $(BASEDIR)/Rules.mk -C test tests
 .PHONY: install-tests
 install-tests: