forked from ostreedev/ostree
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This builds on coreos/coreos-assembler#1441 to install our tests rather than running them from the source directory. This model will more cleanly allow us to ship our tests along with a test container or elsewhere, separate from the source directory. Also prep for ostreedev#2048
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DESTDIR ?= | ||
|
||
TESTDIRS := destructive nondestructive | ||
SCRIPTS := $(shell ls *.sh) | ||
|
||
KOLA_TESTDIR = $(DESTDIR)/usr/lib/coreos-assembler/tests/kola/ostree/ | ||
|
||
all: | ||
for x in $(SCRIPTS); do bash -n "$${x}"; done | ||
|
||
install: | ||
install -D -t $(KOLA_TESTDIR) $(SCRIPTS) | ||
for x in $(TESTDIRS); do rsync -rlv ./$${x} $(KOLA_TESTDIR)/; done |