SHA256
1
0
forked from pool/gdb

- 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:
2022-10-25 17:40:35 +00:00
committed by Git OBS Bridge
parent d7562cf604
commit e15cea783d
2 changed files with 34 additions and 0 deletions

View File

@@ -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> Wed Oct 19 16:35:34 UTC 2022 - Tom de Vries <tdevries@suse.com>

View File

@@ -39,6 +39,7 @@ get_item ()
arch="$2" arch="$2"
if [ -d $root/binaries-testsuite.$c.$arch/gdb-testresults ]; then if [ -d $root/binaries-testsuite.$c.$arch/gdb-testresults ]; then
echo "Already have $c $arch, skipping"
return return
fi fi
@@ -46,6 +47,8 @@ get_item ()
# Stale config, skip. # Stale config, skip.
return return
fi fi
echo "Trying $c $arch"
local dir local dir
dir=$pkgs/$c.$arch dir=$pkgs/$c.$arch
@@ -90,6 +93,25 @@ cleanup ()
mkdir -p $root 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 case "$n" in
1) 1)
cleanup cleanup
@@ -102,6 +124,12 @@ case "$n" in
| while read line; do | while read line; do
get_item $line get_item $line
done done
osc results -M testsuite \
| grep -v succeeded \
| awk '{print $1, $2, $4}' \
| while read line; do
report_todo $line
done
;; ;;
3) 3)