diff --git a/mk/tests.mk b/mk/tests.mk index 9341166beb0b6..df3229bfa87bf 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -267,9 +267,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 \