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

[xen staging] tools/ocaml: Add an uninstall target to the bindings test



commit b26ac391440e18c2f9e6655d27dcc99bc1eddb3b
Author:     Julian Vetter <julian.vetter@xxxxxxxxxx>
AuthorDate: Mon Nov 16 15:24:30 2026 +0100
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Thu Nov 19 12:34:37 2026 +0000

    tools/ocaml: Add an uninstall target to the bindings test
    
    tools/ocaml/tests/Makefile calls into bindings/ for uninstall, but the
    bindings/Makefile has no such target, thus 'make uninstall' fails with:
    
    make[2]: *** No rule to make target 'uninstall'.  Stop.
    
    So, add an uninstall target which removes the test-ocaml-bindings from
    $(LIBEXEC)/tests, just like the tests in tools/tests/ do.
    
    Fixes: d97847e858f1 ("tools/ocaml: Gitlab CI test for bindings")
    Signed-off-by: Julian Vetter <julian.vetter@xxxxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 tools/ocaml/tests/bindings/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/ocaml/tests/bindings/Makefile 
b/tools/ocaml/tests/bindings/Makefile
index 02255780bd..73f2660af5 100644
--- a/tools/ocaml/tests/bindings/Makefile
+++ b/tools/ocaml/tests/bindings/Makefile
@@ -31,4 +31,7 @@ install: all
        $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC)/tests
        $(INSTALL_PROG) test-ocaml-bindings $(DESTDIR)$(LIBEXEC)/tests
 
+uninstall:
+       $(RM) -- $(DESTDIR)$(LIBEXEC)/tests/test-ocaml-bindings
+
 include $(OCAML_TOPLEVEL)/Makefile.rules
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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