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.
This commit is contained in:
Jonathan Lebon 2023-04-14 12:21:05 -04:00
parent 771deb55d1
commit fd3304e987

View File

@ -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