From 871a7649713acfe966219f01fe6d564be70bd38e Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 14 Apr 2023 12:21:05 -0400 Subject: [PATCH] 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 acfdc3b71f..a86d92639b 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 \ No newline at end of file