update kcov find options
@@ -541,7 +541,7 @@ if [ -n "$CARGO_MAKE_KCOV_EXCLUDE_REGION" ]; then
fi
echo "Running tests from directory: ${BINARY_DIRECTORY}"
-for file in $(find "${BINARY_DIRECTORY}" -type f -maxdepth 1 | grep -v "\.d$\|\.rlib$\|\.so$" | grep -e "-[a-z0-9]*")
+for file in $(find "${BINARY_DIRECTORY}" -maxdepth 1 -type f | grep -v "\.d$\|\.rlib$\|\.so$" | grep -e "-[a-z0-9]*")
do
if "$file" ; then
echo "Running file: $file"
