Skip to content

Commit cdba3f3

Browse files
authored
use -exec action instead of -executable test for find (#461)
1 parent 64d4b97 commit cdba3f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/scripts/run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Fail on failing QTest execution
44
set -e
55

6-
find . -executable -type f -name "tst_*" | while read line; do
6+
find . -type f -name "tst_*" -exec test -x {} \; -print | while read line; do
77
echo "Running unit test: "
88
echo "${line}"
99
($line)
10-
done
10+
done

0 commit comments

Comments
 (0)