[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools/tests: Allow a test subdir to have `install' and `uninstall' targets



commit c862bcc7056ffd039bd3ce2a56b1a21c3e32de45
Author:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
AuthorDate: Fri May 25 17:01:15 2018 +0100
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Fri Jul 6 16:27:52 2018 +0100

    tools/tests: Allow a test subdir to have `install' and `uninstall' targets
    
    Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
    Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/tests/Makefile             | 7 ++-----
 tools/tests/depriv/Makefile      | 2 ++
 tools/tests/mce-test/Makefile    | 2 ++
 tools/tests/mem-sharing/Makefile | 2 ++
 tools/tests/xen-access/Makefile  | 2 ++
 tools/tests/xenstore/Makefile    | 2 ++
 6 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/tools/tests/Makefile b/tools/tests/Makefile
index f6942a93fb..26c46b4915 100644
--- a/tools/tests/Makefile
+++ b/tools/tests/Makefile
@@ -13,11 +13,8 @@ endif
 SUBDIRS-$(CONFIG_X86) += x86_emulator
 SUBDIRS-y += xen-access
 SUBDIRS-y += xenstore
+SUBDIRS-y += depriv
 SUBDIRS-$(CONFIG_HAS_PCI) += vpci
 
 .PHONY: all clean install distclean uninstall
-all clean distclean: %: subdirs-%
-
-install:
-
-uninstall:
+all clean distclean install uninstall: %: subdirs-%
diff --git a/tools/tests/depriv/Makefile b/tools/tests/depriv/Makefile
index 2af1e29b06..643d2c50c1 100644
--- a/tools/tests/depriv/Makefile
+++ b/tools/tests/depriv/Makefile
@@ -39,4 +39,6 @@ clean:
 .PHONY: distclean
 distclean: clean
 
+install uninstall:
+
 -include $(DEPS_INCLUDE)
diff --git a/tools/tests/mce-test/Makefile b/tools/tests/mce-test/Makefile
index 07a774aeed..1395df38ac 100644
--- a/tools/tests/mce-test/Makefile
+++ b/tools/tests/mce-test/Makefile
@@ -8,3 +8,5 @@ clean:
 
 distclean:
        $(MAKE) -C tools distclean
+
+install uninstall:
diff --git a/tools/tests/mem-sharing/Makefile b/tools/tests/mem-sharing/Makefile
index 497696f19c..5cd96e4cc9 100644
--- a/tools/tests/mem-sharing/Makefile
+++ b/tools/tests/mem-sharing/Makefile
@@ -27,3 +27,5 @@ memshrtool: memshrtool.o
        $(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl)
 
 -include $(DEPS_INCLUDE)
+
+install uninstall:
diff --git a/tools/tests/xen-access/Makefile b/tools/tests/xen-access/Makefile
index 0ca3f6f4c9..131c9f375d 100644
--- a/tools/tests/xen-access/Makefile
+++ b/tools/tests/xen-access/Makefile
@@ -28,4 +28,6 @@ distclean: clean
 xen-access: xen-access.o Makefile
        $(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) 
$(LDLIBS_libxenevtchn)
 
+install uninstall:
+
 -include $(DEPS_INCLUDE)
diff --git a/tools/tests/xenstore/Makefile b/tools/tests/xenstore/Makefile
index b37b90d03a..a367d88803 100644
--- a/tools/tests/xenstore/Makefile
+++ b/tools/tests/xenstore/Makefile
@@ -24,4 +24,6 @@ distclean: clean
 xs-test: xs-test.o Makefile
        $(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenstore)
 
+install uninstall:
+
 -include $(DEPS_INCLUDE)
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.