From db3f9596ff9c1a8986f9d308969f8a265e3d7344 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Fri, 3 Jul 2015 17:20:36 +0100 Subject: maint: avoid false syntax-check failure in distcheck * cfk.mk (sc_tests_executable): Restrict the check to git files, so we don't flag any gnulib files added to test/ during `make distcheck`. --- cfg.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cfg.mk b/cfg.mk index 329920761..29649dccf 100644 --- a/cfg.mk +++ b/cfg.mk @@ -120,6 +120,8 @@ sc_tests_executable: @set -o noglob 2>/dev/null || set -f; \ find_ext="-name '' "`printf -- "-o -name *%s " $(TEST_EXTENSIONS)`;\ find $(srcdir)/tests/ \( $$find_ext \) \! -perm -u+x -print \ + | { sed "s|^$(srcdir)/||"; git ls-files $(srcdir)/tests/; } \ + | sort | uniq -d \ | sed -e "s/^/$(ME): Please make test executable: /" | grep . \ && exit 1; : -- cgit v1.2.3-70-g09d2