coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: avoid false syntax-check failure in dist-check


From: Pádraig Brady
Subject: [PATCH] maint: avoid false syntax-check failure in dist-check
Date: Fri, 3 Jul 2015 17:23:42 +0100

* cfk.mk (sc_tests_executable): Restrict the check to git files,
so we don't flag any gnulib files added to test/ during
`make dist-check`.
---
 cfg.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cfg.mk b/cfg.mk
index 3299207..29649dc 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; :
 
-- 
2.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]