2016-11-25 23:37:43 +00:00
|
|
|
|
# Run program $1 as part of ‘make installcheck’.
|
2020-07-02 15:15:02 +00:00
|
|
|
|
|
|
|
|
|
test-deps =
|
|
|
|
|
|
2014-02-04 10:02:49 +00:00
|
|
|
|
define run-install-test
|
2013-12-10 14:54:34 +00:00
|
|
|
|
|
2020-07-02 09:34:15 +00:00
|
|
|
|
installcheck: $1.test
|
2013-12-10 14:54:34 +00:00
|
|
|
|
|
2020-07-02 09:34:15 +00:00
|
|
|
|
.PHONY: $1.test
|
2020-07-02 15:15:02 +00:00
|
|
|
|
$1.test: $1 $(test-deps)
|
2020-07-02 09:34:15 +00:00
|
|
|
|
@env TEST_NAME=$1 TESTS_ENVIRONMENT="$(tests-environment)" mk/run_test.sh $1
|
2013-12-10 14:54:34 +00:00
|
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
.PHONY: check installcheck
|