Another try to fix TravisCI
Apparently the problem was with the first shift, not with the loop:
749eb3de80 (commitcomment-10792844)
This commit is contained in:
parent
ecbe88cf17
commit
95e2db7e47
@ -16,13 +16,13 @@ PYTHONPATH=".:$PYTHONPATH"
|
||||
export PYTHONPATH
|
||||
|
||||
# Find tests
|
||||
FILTER=$1
|
||||
shift
|
||||
FILTER=
|
||||
for arg in "$@"; do
|
||||
FILTER="$FILTER|$arg"
|
||||
test "x$FILTER" != x && FILTER="$FILTER|"
|
||||
FILTER="$FILTER$arg"
|
||||
done
|
||||
|
||||
test "x$FILTER" = x && FILTER=.
|
||||
test "x$FILTER" = "x" && FILTER=.
|
||||
TESTS=`grep -r --include='*.py' -l -e doctest -e unittest * | grep -E "$FILTER"`
|
||||
|
||||
ret=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user