forked from lix-project/lix
259d6778ef
Requires a slight update to the test infra to work properly, but having the possibility to group tests that way makes the whole thing quite cleaner imho
16 lines
299 B
Makefile
16 lines
299 B
Makefile
# Run program $1 as part of ‘make installcheck’.
|
||
|
||
test-deps =
|
||
|
||
define run-install-test
|
||
|
||
installcheck: $1.test
|
||
|
||
.PHONY: $1.test
|
||
$1.test: $1 $(test-deps)
|
||
@env TEST_NAME=$(basename $1) TESTS_ENVIRONMENT="$(tests-environment)" mk/run_test.sh $1 < /dev/null
|
||
|
||
endef
|
||
|
||
.PHONY: check installcheck
|