From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 3C87E3858283 for ; Mon, 27 Jun 2022 20:08:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C87E3858283 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-347-AQ1NLdOFNzac23b5pyBASg-1; Mon, 27 Jun 2022 16:08:33 -0400 X-MC-Unique: AQ1NLdOFNzac23b5pyBASg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6D7D9811E76 for ; Mon, 27 Jun 2022 20:08:33 +0000 (UTC) Received: from blarsen.com (ovpn-116-32.gru2.redhat.com [10.97.116.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BE79D1121314; Mon, 27 Jun 2022 20:08:32 +0000 (UTC) From: Bruno Larsen To: gdb-patches@sourceware.org Subject: [OBV/PATCH] gdb/testsuite: update bug numbers from Gnats to bugzilla Date: Mon, 27 Jun 2022 17:08:10 -0300 Message-Id: <20220627200809.48198-1-blarsen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2022 20:08:37 -0000 Some tests link to outdated bug numbers when an XFAIL or a KFAIL happen. gdb.base/macscp.exp was referencing bug number 555, and the bug 7660 mentions that it used to be 555 on the Gnats system and seems to relate to the issue at hand. gdb.base/annota1.exp was referencing bug number 1270, and bug 8375 mentions being number 1270 on Gnats, and mentions annota1 specifically, so it seemed pretty obvious. --- gdb/testsuite/gdb.base/annota1.exp | 8 ++++---- gdb/testsuite/gdb.base/macscp.exp | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp index aed2a4e6468..8060d3c8934 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -100,7 +100,7 @@ gdb_test_multiple "info break" "breakpoint info" { pass $gdb_test_name } -re "\r\n\032\032post-prompt\r\n\r\n\032\032breakpoints-headers\r\n\r\n\032\032field 0\r\nNum \r\n\032\032field 1\r\nType \r\n\032\032field 2\r\nDisp \r\n\032\032field 3\r\nEnb \r\n\032\032field 4\r\nAddress +\r\n\032\032field 5\r\nWhat\r\n\r\n\032\032breakpoints-table\r\n\r\n\032\032record\r\n\r\n\032\032field 0\r\n1 \r\n\032\032field 1\r\nbreakpoint \r\n\032\032field 2\r\nkeep \r\n\032\032field 3\r\ny \r\n\032\032field 4\r\n$hex +\r\n\032\032field 5\r\nin main at .*${srcfile}:$main_line\r\n\r\n\032\032breakpoints-table-end\r\n$gdb_prompt$" { - setup_xfail "*-*-*" 1270 + setup_xfail "*-*-*" 8375 fail $gdb_test_name } } @@ -295,7 +295,7 @@ gdb_test_multiple "backtrace" "backtrace from shlibrary" { pass $gdb_test_name } -re "$pat_begin.*$srcfile$pat_end" { - setup_xfail "*-*-*" 1270 + setup_xfail "*-*-*" 8375 fail $gdb_test_name } } @@ -318,7 +318,7 @@ if [target_info exists gdb,nosignals] { pass $gdb_test_name } -re "\r\n\032\032post-prompt\r\nContinuing with signal SIGUSR1.\r\n\r\n\032\032starting\(\(\r\n\r\n\032\032frames-invalid\)|\(\r\n\r\n\032\032breakpoints-invalid\)\)+\r\n\r\n\032\032breakpoint 2\r\n\r\nBreakpoint 2, \r\n\032\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nhandle_USR1\r\n\032\032frame-args\r\n \\(\r\n\032\032arg-begin\r\nsig\r\n\032\032arg-name-end\r\n=\r\n\032\032arg-value -\r\n$decimal\r\n\032\032arg-end\r\n\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*${srcfile}\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n.*\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source.*annota1.c:.*:.*:beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" { - setup_xfail "*-*-*" 1270 + setup_xfail "*-*-*" 8375 fail $gdb_test_name } } @@ -364,7 +364,7 @@ gdb_test_multiple "break ${srcfile}:${main_line}" "break in main" { pass $gdb_test_name } -re "post-prompt.*Breakpoint 4 at $hex: file .*${srcfile}, line $main_line.*\032\032breakpoints-invalid.*$gdb_prompt$" { - setup_xfail "*-*-*" 1270 + setup_xfail "*-*-*" 8375 fail $gdb_test_name } } diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/macscp.exp index be9bd5312ff..acc57422d2c 100644 --- a/gdb/testsuite/gdb.base/macscp.exp +++ b/gdb/testsuite/gdb.base/macscp.exp @@ -233,8 +233,8 @@ switch -exact -- [info_macro WHERE] { pass "info macro WHERE after `list macscp_4_2_from_macscp2'" } {macscp4.h macscp3.h macscp1.c {before macscp4_2_..., from macscp3.h}} { - setup_kfail "gdb/555" *-*-* - fail "info macro WHERE after `list macscp_4_2_from_macscp2' (gdb/555)" + setup_kfail "gdb/7660" *-*-* + fail "info macro WHERE after `list macscp_4_2_from_macscp2' (gdb/7660)" } timeout { fail "info macro WHERE after `list macscp_4_2_from_macscp2' (timeout)" @@ -248,8 +248,8 @@ switch -exact -- [info_macro WHERE] { pass "info macro WHERE after `list macscp_4_2_from_macscp3'" } {macscp4.h macscp2.h macscp1.c {before macscp4_2_..., from macscp2.h}} { - setup_kfail "gdb/555" *-*-* - fail "info macro WHERE after `list macscp_4_2_from_macscp3' (gdb/555)" + setup_kfail "gdb/7660" *-*-* + fail "info macro WHERE after `list macscp_4_2_from_macscp3' (gdb/7660)" } timeout { fail "info macro WHERE after `list macscp_4_2_from_macscp3' (timeout)" @@ -326,7 +326,7 @@ proc maybe_kfail { func test_name } { # We can't get the right scope info when we're stopped in # the macro4_ functions. if {[string match macscp4_* $func]} { - kfail gdb/555 "$test_name" + kfail gdb/7660 "$test_name" } else { fail "$test_name" } @@ -359,8 +359,8 @@ for {set i 0} {$i < [llength $funcs]} {incr i} { if {[string compare $result $expected] == 0} { pass "info macro WHERE stopped in $func" } elseif {[string compare $result $kfail_expected] == 0} { - setup_kfail "gdb/555" *-*-* - fail "info macro WHERE stopped in $func (gdb/555)" + setup_kfail "gdb/7660" *-*-* + fail "info macro WHERE stopped in $func (gdb/7660)" } elseif {[string compare $result timeout] == 0} { fail "info macro WHERE stopped in $func (timeout)" } else { -- 2.31.1