From 43fb2c012e4c8a6394e9177e48999bde4de1846a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 7 Nov 2019 11:01:18 +0000 Subject: add basic tests using bats --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9206787..3e95f81 100644 --- a/Makefile +++ b/Makefile @@ -93,6 +93,9 @@ help: @echo "$(P) makefile" @echo "usage: make install [ DESTDIR= ]" +check: $(USR_BIN_FILE) functions.sh + cd tests && bats *.bats + install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh install -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(sysconfdir) \ $(DESTDIR)/$(datadir) $(DESTDIR)/$(mandir)/man1 \ -- cgit v1.2.3-70-g09d2