Skip to content

Commit

Permalink
tests/kolainst: Add make localinstall
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jlebon committed Apr 14, 2023
1 parent b50ac42 commit 871a764
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/kolainst/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 871a764

Please sign in to comment.