From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 8FEDB3858C00; Fri, 27 Jan 2023 17:25:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8FEDB3858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674840320; bh=Ancfb4DpGIDxuTa4Y37eQGD55aQ9WWC0AsbxpZwiTuk=; h=From:To:Subject:Date:From; b=BZYTbvciSWNnYz6wAEemWjWdlJYCpjmAb+Swointw85krFU1S92BOq+3dDC0mW6ZS 4bkcZ2iMls3xmiyOZOOQCLEeVypxDFj9aMoYbO3+aoHImoA1g6cXJ0G9jHwnbZN9Qu nmVWhaBwtQ3htFa+q5V3nzFcqeBL2SINdB9VgaqE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Invert test in gdb.ada/ptype_tagged_param.exp X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 2d46b103a52e4597ee60aa224ef4e5fb225ba893 X-Git-Newrev: f6210497fd7ff8f71c1421abb3dacdd4556dd097 Message-Id: <20230127172520.8FEDB3858C00@sourceware.org> Date: Fri, 27 Jan 2023 17:25:20 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Df6210497fd7f= f8f71c1421abb3dacdd4556dd097 commit f6210497fd7ff8f71c1421abb3dacdd4556dd097 Author: Tom Tromey Date: Fri Jan 27 10:22:17 2023 -0700 Invert test in gdb.ada/ptype_tagged_param.exp =20 Simon pointed out that the kfail check in gdb.ada/ptype_tagged_param.exp is inverted. See: =20 https://sourceware.org/pipermail/gdb-patches/2023-January/196296.html =20 This patch fixes the problem. Diff: --- gdb/testsuite/gdb.ada/ptype_tagged_param.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.ada/ptype_tagged_param.exp b/gdb/testsuite/g= db.ada/ptype_tagged_param.exp index eaf61ddde79..759b10f9b6a 100644 --- a/gdb/testsuite/gdb.ada/ptype_tagged_param.exp +++ b/gdb/testsuite/gdb.ada/ptype_tagged_param.exp @@ -48,7 +48,7 @@ gdb_test_multiple "ptype s" "ptype s" { pass $gdb_test_name } -re -wrap $nodebug { - if {$has_runtime_debug_info} { + if {!$has_runtime_debug_info} { kfail "no debug info" $gdb_test_name } else { fail $gdb_test_name