Fixed testing harness misspelling

This commit is contained in:
2020-06-21 16:09:36 -07:00
parent 7498595782
commit f3b7713d0e

View File

@@ -1,4 +1,4 @@
.PHONY: help test
.PHONY: help tests
PROJECT := Bg
VERSION := 0.0.1
@@ -16,12 +16,12 @@ help:
@echo ""
@echo "Usage:"
@echo " make [help] - Display this message"
@echo " make test - Run unit tests"
@echo " make tests - Run unit tests"
test: $(patsubst %.test,%.stdout,$(call rwildcard,,%.test))
tests: $(patsubst %.test,%.stdout,$(call rwildcard,,%.test))
%.stdout: %.test
./$< > $@ 2> $(patsubst %.stdout,%.stderr,%@) \
./$< > $@ 2> $(patsubst %.stdout,%.stderr,$@) \
|| (touch --date=@0 $@; false)
git diff --exit-code --src-prefix=expected/ --dst-prefix=actual/ \
$@ $(patsubst %.stdout,%.stderr,$@) \