17 lines
765 B
Makefile
17 lines
765 B
Makefile
SH ?= sh
|
|
|
|
TEST_COMMAND = python src --hostname testhost
|
|
|
|
check:
|
|
$(SH) tests/test-output.sh tests/config-errors.conf \
|
|
$(TEST_COMMAND) --config tests/config-errors.conf
|
|
$(SH) tests/test-output.sh tests/config-warnings.conf \
|
|
$(TEST_COMMAND) --config tests/config-warnings.conf
|
|
$(SH) tests/test-output.sh tests/command-line-pattern-diagnostics.transcript \
|
|
$(TEST_COMMAND) --config tests/empty.conf --include '~foo' --exclude foo/../bar
|
|
$(SH) tests/test-output.sh tests/missing-category.conf \
|
|
$(TEST_COMMAND) --config tests/missing-category.conf --repo tests/mock-repo --under tests/mock-under
|
|
$(SH) tests/test-output.sh tests/presence.conf \
|
|
$(TEST_COMMAND) --config tests/presence.conf --repo tests/mock-repo --under tests/mock-under
|
|
|
|
.PHONY: check
|