From fd3304e98760f4d8413af6181a77d0e1d955dbe8 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 14 Apr 2023 12:21:05 -0400 Subject: tests/kolainst: Add `make localinstall` When hacking and testing locally with `cosa build-fast` and `kola run`, I prefer to leave testing framework stuff within the work directory rather than installed in my pet container. Add a `localinstall` target for this which puts the tests in `tests/kola`. Then a simple `kola run` will pick it up. --- tests/kolainst/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/kolainst/Makefile b/tests/kolainst/Makefile index acfdc3b7..b2172ccb 100644 --- a/tests/kolainst/Makefile +++ b/tests/kolainst/Makefile @@ -15,3 +15,7 @@ install: install -D -m 0755 -t $(KOLA_TESTDIR)/nondestructive-rs ../inst/target/release/ostree-test install -D -m 0644 destructive-stamp.ign $(KOLA_TESTDIR)/destructive-rs/config.ign ./install-wrappers.sh destructive-list.txt $(KOLA_TESTDIR)/destructive-rs + +localinstall: + rm -rf ../kola + make install KOLA_TESTDIR=../kola -- cgit v1.2.1