Teach runtests.sh the -n arg.
If you give "-n 8" to runtests, it thinks, it got "-n" -- a nice option, ignored. "8" -- Oh! a single test named "8" to run, so no need to run all the GMG tests. Well, that's not what we want. So runtests now knows about -n taking an arg.
This commit is contained in:
parent
7d503a897b
commit
0c0f31c4ef
@ -49,9 +49,16 @@ echo "+ CELERY_CONFIG_MODULE=$CELERY_CONFIG_MODULE"
|
||||
# will try to read all directories, and this turns into a mess!
|
||||
|
||||
need_arg=1
|
||||
ignore_next=0
|
||||
for i in "$@"
|
||||
do
|
||||
if [ "$ignore_next" = 1 ]
|
||||
then
|
||||
ignore_next=0
|
||||
continue
|
||||
fi
|
||||
case "$i" in
|
||||
-n) ignore_next=1;;
|
||||
-*) ;;
|
||||
*) need_arg=0; break ;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user