SHA256
1
0
forked from pool/gdb

- Maintenance script qa.sh:

- Update PR26363 internal error pattern.
  - Add PR29790 kfail.
  - Add -powerpc64le option.
  - Generalize PR26915 kfail patterns.
  - Move PR28478 patterns from kfail_factory to kfail.
  - Add PR29781 and PR27813 kfails.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=342
This commit is contained in:
2022-11-21 22:03:28 +00:00
committed by Git OBS Bridge
parent afca17004c
commit a8fd42eea7
2 changed files with 120 additions and 9 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Nov 16 13:49:01 UTC 2022 - Tom de Vries <tdevries@suse.com>
- Maintenance script qa.sh:
- Update PR26363 internal error pattern.
- Add PR29790 kfail.
- Add -powerpc64le option.
- Generalize PR26915 kfail patterns.
- Move PR28478 patterns from kfail_factory to kfail.
- Add PR29781 and PR27813 kfails.
-------------------------------------------------------------------
Tue Nov 15 08:14:11 UTC 2022 - Tom de Vries <tdevries@suse.com>

118
qa.sh
View File

@@ -23,7 +23,7 @@
usage ()
{
echo "usage: $0 <1-5>"
echo " $0 -local [ -sle12 | -factory ] <dir>"
echo " $0 -local [ -sle12 | -factory | -aarch64 | -powerpc64le ] <dir>"
echo
echo "Verify remote results at:"
echo " ./binaries-testsuite.distro.arch/gdb-testresults"
@@ -49,6 +49,7 @@ shift
have_sle12=false
have_factory=false
have_aarch64=false
have_powerpc64le=false
if [ "$n" = "-local" ]; then
while [ $# -gt 1 ]; do
case $1 in
@@ -61,6 +62,9 @@ if [ "$n" = "-local" ]; then
-aarch64)
have_aarch64=true
;;
-powerpc64le)
have_powerpc64le=true
;;
*)
echo "Don't know how to handle arg: $1"
usage
@@ -142,7 +146,10 @@ kfail=(
"FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step \(pattern 3\)"
# https://sourceware.org/bugzilla/show_bug.cgi?id=26915
"FAIL: gdb.threads/schedlock.exp: schedlock=off: .*: other threads ran - unlocked"
"FAIL: gdb.threads/watchthreads-threaded.exp: watchpoint on args\[3\] hit in thread"
"FAIL: gdb.threads/watchthreads-threaded.exp: watchpoint on args\[[1-3]\] hit in thread"
"FAIL: gdb.threads/watchthreads-threaded.exp: watch args\[[1-3]\]"
"FAIL: gdb.threads/watchthreads-threaded.exp: threaded watch loop"
"FAIL: gdb.threads/watchthreads-threaded.exp: combination of threaded watchpoints = 30 \+ initial values"
# https://sourceware.org/bugzilla/show_bug.cgi?id=28479
"FAIL: gdb.mi/mi-nonstop.exp: wait for thread exit \(timeout\)"
# https://sourceware.org/bugzilla/show_bug.cgi?id=26273
@@ -222,9 +229,6 @@ kfail=(
"FAIL: gdb.reverse/i386-sse-reverse.exp: verify xmm2 after reverse xorpd"
"FAIL: gdb.reverse/i386-sse-reverse.exp: verify xmm2 after reverse xorps"
# Fedora test. Fails because it doesn't handle ppc64le.
"FAIL: gdb.arch/powerpc-bcl-prologue.exp: powerpc arch test"
# https://sourceware.org/bugzilla/show_bug.cgi?id=29419
# https://sourceware.org/bugzilla/show_bug.cgi?id=29409
"FAIL: gdb.opt/inline-small-func.exp: info breakpoints"
@@ -254,7 +258,19 @@ kfail=(
"FAIL: gdb.base/info-os.exp: get shared-memory regions"
"FAIL: gdb.base/info-os.exp: get threads"
#https://sourceware.org/bugzilla/show_bug.cgi?id=29790
"FAIL: gdb.arch/i386-pkru.exp: read value after setting value"
"FAIL: gdb.arch/i386-pkru.exp: variable after reading pkru"
# https://sourceware.org/bugzilla/show_bug.cgi?id=28478
"FAIL: gdb.gdb/selftest.exp: backtrace through signal handler"
# https://sourceware.org/bugzilla/show_bug.cgi?id=29781
"FAIL: gdb.mi/mi-multi-commands.exp: args=: look for second command output, command length .* \(timeout\)"
# https://sourceware.org/bugzilla/show_bug.cgi?id=27813
"FAIL: .*.exp: .*tab complete .* \(clearing input line\) \(timeout\)"
"FAIL: .*.exp: .*cmd complete .*"
) # kfail
kfail_sle12=(
@@ -333,8 +349,6 @@ kfail_factory=(
"FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over (yes|no): signal SIGUSR1"
# https://sourceware.org/bugzilla/show_bug.cgi?id=28477
"FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: continue to marker \(clone\)"
# https://sourceware.org/bugzilla/show_bug.cgi?id=28478
"FAIL: gdb.gdb/selftest.exp: backtrace through signal handler"
# https://sourceware.org/bugzilla/show_bug.cgi?id=26867
"FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler"
# https://sourceware.org/bugzilla/show_bug.cgi?id=28510
@@ -390,6 +404,75 @@ kfail_aarch64=(
"FAIL: gdb.base/watchpoint-unaligned.exp: size8twice write"
) # kfail_aarch64
kfail_powerpc64le=(
# https://sourceware.org/bugzilla/show_bug.cgi?id=29420
"FAIL: gdb.ada/convvar_comp.exp: print \\\$item.started"
# https://sourceware.org/bugzilla/show_bug.cgi?id=29814
"FAIL: gdb.base/msym-bp-shl.exp: debug=0: before run: info breakpoint"
"FAIL: gdb.base/msym-bp-shl.exp: debug=1: before run: info breakpoint"
# Commit a0eda3df5b7 ("PowerPC, fix support for printing the function
# return value for non-trivial values").
"FAIL: gdb.cp/non-trivial-retval.exp: finish from"
"FAIL: gdb.ada/array_return.exp: value printed by finish of Create_Small_Float_Vector"
# Commit f68eca29d3b ("PowerPC, fix gdb.base/retval-large-struct.exp").
"FAIL: gdb.base/retval-large-struct.exp: finish from return_large_struct"
# https://sourceware.org/bugzilla/show_bug.cgi?id=29793
"FAIL: gdb.cp/gdb2495.exp: call a function that raises an exception without a handler."
"FAIL: gdb.cp/gdb2495.exp: bt after returning from a popped frame"
# https://sourceware.org/bugzilla/show_bug.cgi?id=29792
"FAIL: gdb.opt/solib-intra-step.exp: second-hit"
# Carl Love mentioned he's working on these.
# https://sourceware.org/bugzilla/show_bug.cgi?id=29793#c2
"FAIL: gdb.reverse/finish-precsave.exp"
"FAIL: gdb.reverse/finish-reverse.exp"
# Commit 29004660c94 ("PowerPC fix for gdb.server/sysroot.exp").
"FAIL: gdb.server/sysroot.exp: sysroot=local: continue to printf"
"FAIL: gdb.server/sysroot.exp: sysroot=remote: continue to printf"
# Known to run into timeouts.
"FAIL: gdb.gdb/python-helper.exp"
# Fedora test. Fails because it doesn't handle ppc64le.
"FAIL: gdb.arch/powerpc-bcl-prologue.exp: powerpc arch test"
# Commit 301fe55e9c4 ("PowerPC: bp-permanent.exp, kill-after-signal fix").
"FAIL: gdb.base/kill-after-signal.exp: stepi"
"FAIL: gdb.base/bp-permanent.exp: always_inserted=off, sw_watchpoint=0: stepi signal with handler: mainline pc points at permanent breakpoint"
"FAIL: gdb.base/bp-permanent.exp: always_inserted=off, sw_watchpoint=1: stepi signal with handler: mainline pc points at permanent breakpoint"
"FAIL: gdb.base/bp-permanent.exp: always_inserted=on, sw_watchpoint=0: stepi signal with handler: mainline pc points at permanent breakpoint"
"FAIL: gdb.base/bp-permanent.exp: always_inserted=on, sw_watchpoint=1: stepi signal with handler: mainline pc points at permanent breakpoint"
# https://sourceware.org/bugzilla/show_bug.cgi?id=29813
"FAIL: gdb.base/vla-optimized-out.exp: o1: printed size of optimized out vla"
# Commit 4d88ae0c7b5 ("[gdb/testsuite] Fix gdb.base/maint.exp on powerpc64le").
"FAIL: gdb.base/maint.exp: maint print objfiles: symtabs"
# Commit e7d69e72bfd ("gdb: always add the default register groups").
"FAIL: gdb.xml/tdesc-regs.exp: maintenance print reggroups"
# Commit 91836f41e20 ("Powerpc fix for gdb.base/unwind-on-each-insn.exp").
"FAIL: gdb.base/inline-frame-cycle-unwind.exp: cycle at level [0-9]*: backtrace when the unwind is broken at frame [0-9]*"
# https://sourceware.org/bugzilla/show_bug.cgi?id=29815
"FAIL: gdb.reverse/finish-reverse-bkpt.exp: reverse-finish from void_func trips breakpoint at entry"
"FAIL: gdb.reverse/finish-reverse-bkpt.exp: no spurious proceed after breakpoint stop"
"FAIL: gdb.reverse/next-reverse-bkpt-over-sr.exp: reverse-next over call trips user breakpoint at function entry"
"FAIL: gdb.reverse/next-reverse-bkpt-over-sr.exp: stopped at the right callee call"
# https://sourceware.org/bugzilla/show_bug.cgi?id=29816
"FAIL: gdb.ada/float-bits.exp: print 16llf#4000921fb54442d18469898cc51701b8#"
"FAIL: gdb.ada/float-bits.exp: print \\\$foo:=16llf#4000921fb54442d18469898cc51701b8#"
"FAIL: gdb.ada/float-bits.exp: print internal long double variable after assignment"
)
case $n in
1)
# 'FAIL: .* internal error' in gdb.sum.
@@ -425,7 +508,7 @@ case $n in
# https://sourceware.org/bugzilla/show_bug.cgi?id=26284
"infrun.c:[0-9]*: internal-error: finish_step_over: Assertion \`ecs->event_thread->control.trap_expected' failed."
# https://sourceware.org/bugzilla/show_bug.cgi?id=26363
".i586.*i386-linux-nat.c:[0-9]*: internal-error: Got request for bad register number 41."
".i586.*i386-linux-nat.c:[0-9]*: internal-error: Got request for bad register number [0-9]*."
# https://sourceware.org/bugzilla/show_bug.cgi?id=26761
"thread.c:[0-9]*: internal-error: inferior_thread: Assertion \`current_thread_ \!= nullptr' failed."
# https://sourceware.org/bugzilla/show_bug.cgi?id=19675
@@ -542,6 +625,20 @@ case $n in
done
)
(
# Known clean config: SLE 15 powerpc64le.
config=SLE-15.ppc64le/gdb-testresults
sums=("$config/gdb-ppc64le-suse-linux-m64.-fno-PIE.-no-pie.sum"
"$config/gdb-ppc64le-suse-linux-m64.sum")
kfail+=("${kfail_powerpc64le[@]}")
for sum in "${sums[@]}"; do
sum=binaries-testsuite.$sum
report_sum "$sum"
done
)
;;
5)
@@ -583,6 +680,9 @@ case $n in
if $have_aarch64; then
kfail+=("${kfail_aarch64[@]}")
fi
if $have_powerpc64le; then
kfail+=("${kfail_powerpc64le[@]}")
fi
for sum in "${sums[@]}"; do
report_sum "$sum"