Make tests of URLs parallel
This commit is contained in:
parent
53ee0383a8
commit
a328cffbe9
12
quickget
12
quickget
|
@ -484,8 +484,8 @@ function test_all() {
|
|||
test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
exit 0
|
||||
done &
|
||||
wait
|
||||
}
|
||||
|
||||
function os_support() {
|
||||
|
@ -3427,8 +3427,10 @@ case "${1}" in
|
|||
shift
|
||||
if [ -z "${1}" ]; then
|
||||
for OS in $(os_support); do
|
||||
(test_all "${OS}")
|
||||
(test_all "${OS}") &
|
||||
done
|
||||
wait
|
||||
exit 0
|
||||
elif [ -z "${2}" ]; then
|
||||
test_all "${1}"
|
||||
exit 0
|
||||
|
@ -3439,8 +3441,10 @@ case "${1}" in
|
|||
shift
|
||||
if [ -z "${1}" ]; then
|
||||
for OS in $(os_support); do
|
||||
(test_all "${OS}")
|
||||
(test_all "${OS}") &
|
||||
done
|
||||
wait
|
||||
exit 0
|
||||
elif [ -z "${2}" ]; then
|
||||
test_all "${1}"
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue