mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-02 13:05:28 +02:00
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}"
|
test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done &
|
||||||
exit 0
|
wait
|
||||||
}
|
}
|
||||||
|
|
||||||
function os_support() {
|
function os_support() {
|
||||||
|
@ -3427,8 +3427,10 @@ case "${1}" in
|
||||||
shift
|
shift
|
||||||
if [ -z "${1}" ]; then
|
if [ -z "${1}" ]; then
|
||||||
for OS in $(os_support); do
|
for OS in $(os_support); do
|
||||||
(test_all "${OS}")
|
(test_all "${OS}") &
|
||||||
done
|
done
|
||||||
|
wait
|
||||||
|
exit 0
|
||||||
elif [ -z "${2}" ]; then
|
elif [ -z "${2}" ]; then
|
||||||
test_all "${1}"
|
test_all "${1}"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -3439,8 +3441,10 @@ case "${1}" in
|
||||||
shift
|
shift
|
||||||
if [ -z "${1}" ]; then
|
if [ -z "${1}" ]; then
|
||||||
for OS in $(os_support); do
|
for OS in $(os_support); do
|
||||||
(test_all "${OS}")
|
(test_all "${OS}") &
|
||||||
done
|
done
|
||||||
|
wait
|
||||||
|
exit 0
|
||||||
elif [ -z "${2}" ]; then
|
elif [ -z "${2}" ]; then
|
||||||
test_all "${1}"
|
test_all "${1}"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user