about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/tests.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/tests.mk b/mk/tests.mk
index f91828838a8..d4206acd274 100644
--- a/mk/tests.mk
+++ b/mk/tests.mk
@@ -268,9 +268,10 @@ tidy-basic:
 .PHONY: tidy-binaries
 tidy-binaries:
 		@$(call E, check: binaries)
-		$(Q)find $(S)src -type f -perm +a+x \
+		$(Q)find $(S)src -type f \
+		    \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
 		    -not -name '*.rs' -and -not -name '*.py' \
-		    -and -not -name '*.sh' \
+		    -and -not -name '*.sh' -and -not -name '*.pp' \
 		| grep '^$(S)src/jemalloc' -v \
 		| grep '^$(S)src/libuv' -v \
 		| grep '^$(S)src/llvm' -v \