mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unittest - Only run tests that have execute bit set
This commit is contained in:
parent
51f08496b5
commit
a9c9fbc7df
1 changed files with 13 additions and 9 deletions
|
@ -5,6 +5,7 @@ if [ x"$1" = x"--verbose" ];
|
||||||
then
|
then
|
||||||
for i in ${TESTBLOB}
|
for i in ${TESTBLOB}
|
||||||
do
|
do
|
||||||
|
if [[ -x "$i" ]]; then
|
||||||
echo '#' $i
|
echo '#' $i
|
||||||
$i > test.log 2>&1
|
$i > test.log 2>&1
|
||||||
while read LINE
|
while read LINE
|
||||||
|
@ -15,6 +16,9 @@ then
|
||||||
rc=1
|
rc=1
|
||||||
fi
|
fi
|
||||||
rm test.log
|
rm test.log
|
||||||
|
else
|
||||||
|
echo "# Skipping $(basename $i) execute bit not set"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
exit $rc
|
exit $rc
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue