blob: d0437681f7482443011936fc1dc4b557123f26d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# FIXME: add comment
# Ensure that all version-controlled executable files are listed in TESTS.
_v = TESTS
FIXME_hook_this_to_make_distcheck:
sed -n '/^$(_v) =/,/[^\]$$/p' $(srcdir)/Makefile.am \
| sed 's/^ *//;/^\$$.*/d;/^$(_v) =/d' \
| tr -s '\012\\' ' ' | fmt -1 | sort -u > t1
find `$(top_srcdir)/build-aux/vc-list-files $(srcdir)` \
-type f -perm -111 -printf '%f\n'|sort -u \
| diff -u t1 -
# Append this, because automake does the same.
TESTS_ENVIRONMENT += \
top_srcdir=$(top_srcdir) \
abs_top_srcdir=$(abs_top_srcdir) \
abs_top_builddir=$(abs_top_builddir) \
srcdir=$(srcdir)
TEST_LOGS = $(TESTS:=.log)
# Parallel replacement of Automake's check-TESTS target.
# Include it last.
include $(top_srcdir)/build-aux/check.mk
|