diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-07-03 17:20:36 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-07-03 17:36:26 +0100 |
commit | db3f9596ff9c1a8986f9d308969f8a265e3d7344 (patch) | |
tree | f891663f830dc0699b8a24b40435942b8cd7d0d5 | |
parent | 11091122c5bbffc1a46db249bf8f92835c0da6f4 (diff) | |
download | coreutils-db3f9596ff9c1a8986f9d308969f8a265e3d7344.tar.xz |
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`.
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; : |