Fixed testing harness misspelling
This commit is contained in:
8
Makefile
8
Makefile
@@ -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,$@) \
|
||||
|
||||
Reference in New Issue
Block a user