From: Jonathan Lebon Date: Fri, 14 Apr 2023 16:21:05 +0000 (-0400) Subject: tests/kolainst: Add `make localinstall` X-Git-Tag: archive/raspbian/2023.7-3+rpi1~1^2~9^2~2^2~4^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fd3304e98760f4d8413af6181a77d0e1d955dbe8;p=ostree.git 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. --- 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