Skip to contentSkip to conversation

tools/tests: Add install target for vPCI

PATCH In review Andrew Cooper 2 participants 4 messages May 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/tests: Add install target for vPCI

This lets it run automagically in CI.

---
CC: Roger Pau Monné <[email protected]>
CC: Anthony PERARD <[email protected]>

---
 tools/tests/vpci/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
tools/tests/vpci/Makefile +7 -1
index 62f21f341a01..9450f7593a41 100644
@@ -21,7 +21,13 @@ clean:
 distclean: clean
 
 .PHONY: install
-install:
+install: all
+	$(INSTALL_DIR) $(DESTDIR)$(LIBEXEC)/tests
+	$(INSTALL_PROG) $(TARGET) $(DESTDIR)$(LIBEXEC)/tests
+
+.PHONY: uninstall
+uninstall:
+	$(RM) -- $(DESTDIR)$(LIBEXEC)/tests/$(TARGET)
 
 vpci.c: $(XEN_ROOT)/xen/drivers/vpci/vpci.c
 	# Remove includes and add the test harness header
Signature · 1 line
2.39.5
#2 lore raw
Quoted 6 lines · Roger Pau Monné
Quoted 3 lines · Andrew Cooper

This lets it run automagically in CI.

Quoted 7 lines

I had sent something similar long time ago:

https://lore.kernel.org/xen-devel/[email protected]/

But got no reviews.

Thanks, Roger.

Sorry, that fell through the cracks too.

What I'll do if you're happy is submit it as authored by you but with this content (seeing as it's the one I've tested in the past week), and A-by me.

~Andrew

#3 lore raw
Quoted 13 lines · Andrew Cooper
Quoted 12 lines · Roger Pau Monné
Quoted 3 lines · Andrew Cooper

This lets it run automagically in CI.

I had sent something similar long time ago:

https://lore.kernel.org/xen-devel/[email protected]/

But got no reviews.

Quoted 7 lines
Quoted 1 line

Thanks, Roger.

Sorry, that fell through the cracks too.

What I'll do if you're happy is submit it as authored by you but with this content (seeing as it's the one I've tested in the past week), and A-by me.

Oh, no worries about authorship, you can just commit this one really.

Thanks, Roger.