Accepting request 932239 from home:tomdevries:branches:devel:gcc-gdb-sle-11-librpm-v2

- Maintenance script qa.sh:
  - Add internal-error KFAILs.
  - Rewrite gdb.suse check to distinguish between:
    "zypper hint printed (librpm)" and
    "zypper hint printed (no librpm)".
- Patch updated (zypper hint doesn't use librpm on SLE-11):
  * gdb-testsuite-add-gdb.suse-zypper-hint.exp.patch

OBS-URL: https://build.opensuse.org/request/show/932239
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=304
This commit is contained in:
2021-11-18 11:54:30 +00:00
committed by Git OBS Bridge
parent 67695ab596
commit ec4aca9abe
3 changed files with 46 additions and 8 deletions

15
qa.sh
View File

@@ -218,6 +218,10 @@ case $n in
"linux-nat.c:[0-9]*: internal-error: wait returned unexpected status"
# https://sourceware.org/bugzilla/show_bug.cgi?id=28553
"infrun.c:[0-9]*: internal-error: thread .* needs a step-over, but not in step-over queue"
# https://sourceware.org/bugzilla/show_bug.cgi?id=19675
"linux-nat.c:[0-9]*: internal-error: wait returned unexpected"
# https://sourceware.org/bugzilla/show_bug.cgi?id=28604
"x86-linux-dregs.c:[0-9]*: internal-error: void x86_linux_update_debug_registers\(lwp_info\*\): Assertion \`lwp_is_stopped \(lwp\)' failed."
)
kfail_re=$(join "|" "${kfail[@]}")
@@ -276,8 +280,15 @@ case $n in
;;
5)
grep -c "PASS: gdb.suse/zypper-hint.exp: zypper hint printed" \
binaries-testsuite*/gdb-testresults/*.sum \
librpm=$(ls -1 binaries-testsuite*/gdb-testresults/*.sum \
| grep -v SLE-11)
nolibrpm=$(ls -1 binaries-testsuite*/gdb-testresults/*.sum \
| grep SLE-11)
grep -c "PASS: gdb.suse/zypper-hint.exp: zypper hint printed (librpm)" \
$librpm \
| grep -E -v ":1"
grep -c "PASS: gdb.suse/zypper-hint.exp: zypper hint printed (no librpm)" \
$nolibrpm \
| grep -E -v ":1"
;;