aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-11-20 17:50:05 -0600
committerRob Landley <rob@landley.net>2018-11-20 17:50:05 -0600
commit7f062f2dcfa5511139476e1aef8db74f49566432 (patch)
tree8993c0c6f6c8ca3028dd34eff85de40e46b5a39b
parent7a46d1db95a52deb86845c1f0b770da14bc869d0 (diff)
downloadtoybox-7f062f2dcfa5511139476e1aef8db74f49566432.tar.gz
Skip tests that don't have the executable bit set unless $TEST_ALL set.
-rwxr-xr-xscripts/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index 1e357173..1bf225aa 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -53,6 +53,7 @@ then
else
for i in "$TOPDIR"/tests/*.test
do
+ [ -z "$TEST_ALL" ] && [ ! -x "$i" ] && continue
if [ -z "$TEST_HOST" ]
then
do_test "$i" 1