diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check.mk b/tests/check.mk index 03e3f7042..48cffa40a 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -24,7 +24,8 @@ vc_exe_in_TESTS: Makefile sed -n '/^$(_v) = \\$$/,/[^\]$$/p' $(srcdir)/Makefile.am \ | sed 's/^ *//;/^\$$.*/d;/^$(_v) =/d' \ | tr -s '\012\\' ' ' | fmt -1 | sort -u > t1 && \ - for f in `$(top_srcdir)/build-aux/vc-list-files .`; do \ + for f in `cd $(top_srcdir) && build-aux/vc-list-files $(subdir)`; do \ + f=`echo $$f|sed 's!^$(subdir)/!!'`; \ test -f "$$f" && test -x "$$f" && echo "$$f"; \ done | sort -u > t2 && \ diff -u t1 t2 || exit 1; \ |