make: add FILTER var to make check
so we can run specific test with make check FILTER=<what-to-test>
This commit is contained in:
parent
8aacd4783f
commit
18f8c94237
2
Makefile
2
Makefile
|
@ -95,7 +95,7 @@ help:
|
|||
@echo "usage: make install [ DESTDIR=<path> ]"
|
||||
|
||||
check: $(USR_BIN_FILE) functions.sh
|
||||
cd tests && bats *.bats
|
||||
cd tests && bats $${FILTER:+ --filter $$FILTER} *.bats
|
||||
|
||||
install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh
|
||||
install -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(sysconfdir) \
|
||||
|
|
Loading…
Reference in New Issue