- Maintenance script qa-remote.sh:
* Make "Get remote testsuite results" more verbose. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=338
This commit is contained in:
parent
d7562cf604
commit
e15cea783d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 21 08:03:27 UTC 2022 - Tom de Vries <tdevries@suse.com>
|
||||
|
||||
- Maintenance script qa-remote.sh:
|
||||
* Make "Get remote testsuite results" more verbose.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 19 16:35:34 UTC 2022 - Tom de Vries <tdevries@suse.com>
|
||||
|
||||
|
28
qa-remote.sh
28
qa-remote.sh
@ -39,6 +39,7 @@ get_item ()
|
||||
arch="$2"
|
||||
|
||||
if [ -d $root/binaries-testsuite.$c.$arch/gdb-testresults ]; then
|
||||
echo "Already have $c $arch, skipping"
|
||||
return
|
||||
fi
|
||||
|
||||
@ -46,6 +47,8 @@ get_item ()
|
||||
# Stale config, skip.
|
||||
return
|
||||
fi
|
||||
|
||||
echo "Trying $c $arch"
|
||||
|
||||
local dir
|
||||
dir=$pkgs/$c.$arch
|
||||
@ -90,6 +93,25 @@ cleanup ()
|
||||
mkdir -p $root
|
||||
}
|
||||
|
||||
report_todo ()
|
||||
{
|
||||
c="$1"
|
||||
arch="$2"
|
||||
status="$3"
|
||||
|
||||
if [ "$c" = "SLE-10_SDK" ]; then
|
||||
# Stale config.
|
||||
return
|
||||
fi
|
||||
|
||||
if [ "$c" = "SLE-11" ] && [ "$arch" = "x86_64" ] && [ "$status" = "unresolvable" ]; then
|
||||
# This needs fixing, but is a known problem.
|
||||
return
|
||||
fi
|
||||
|
||||
echo -e "Todo: $c\t$arch\t$status"
|
||||
}
|
||||
|
||||
case "$n" in
|
||||
1)
|
||||
cleanup
|
||||
@ -102,6 +124,12 @@ case "$n" in
|
||||
| while read line; do
|
||||
get_item $line
|
||||
done
|
||||
osc results -M testsuite \
|
||||
| grep -v succeeded \
|
||||
| awk '{print $1, $2, $4}' \
|
||||
| while read line; do
|
||||
report_todo $line
|
||||
done
|
||||
;;
|
||||
|
||||
3)
|
||||
|
Loading…
x
Reference in New Issue
Block a user