From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1879) id 6AA433858D28; Tue, 31 Jan 2023 16:36:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6AA433858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675182964; bh=Hs3lGlWcg5N9TAfOAINnmX4Srb3T2N81+89fBjrWh7Q=; h=From:To:Subject:Date:From; b=aYj6RyoI+MCQeYX9GEu8lwqPHirwZc4wqwfDXJGHdLtLQCuc50RGVAm5fMEWYH14z dn+fc+AQf9Gh3BUZdFPjt6uquadrDBwTBUhcEz5oMHysDVyO+hf0nfJOuLSLgygRk1 ioB1G4IL/kIuyhBpjAHoHtHMHvukOfJIWRbPXI7Q= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Simon Marchi To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb/testsuite: fix xfail in gdb.ada/ptype_tagged_param.exp X-Act-Checkin: binutils-gdb X-Git-Author: Simon Marchi X-Git-Refname: refs/heads/master X-Git-Oldrev: be527f283a344b9c8582296ec4a8a1bacb8c103e X-Git-Newrev: d8e88d10d8687d61ddb09fc0a0af563c43071555 Message-Id: <20230131163604.6AA433858D28@sourceware.org> Date: Tue, 31 Jan 2023 16:36:04 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dd8e88d10d868= 7d61ddb09fc0a0af563c43071555 commit d8e88d10d8687d61ddb09fc0a0af563c43071555 Author: Simon Marchi Date: Tue Jan 31 11:34:38 2023 -0500 gdb/testsuite: fix xfail in gdb.ada/ptype_tagged_param.exp =20 I see: =20 ERROR: wrong # args: should be "xfail message" while executing "xfail "no debug info" $gdb_test_name" ("uplevel" body line 3) invoked from within "uplevel { if {!$has_runtime_debug_info} { xfail "no debug info" $gdb_test_name } else { fail $gdb_test_name } }" =20 This is because the xfail takes only one argument, fix that. =20 Change-Id: I2e304d4fd3aa61067c04b5dac2be2ed34dab3190 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 da9b2bb3ae6..ba21e7b8e3c 100644 --- a/gdb/testsuite/gdb.ada/ptype_tagged_param.exp +++ b/gdb/testsuite/gdb.ada/ptype_tagged_param.exp @@ -49,7 +49,7 @@ gdb_test_multiple "ptype s" "ptype s" { } -re -wrap $nodebug { if {!$has_runtime_debug_info} { - xfail "no debug info" $gdb_test_name + xfail "$gdb_test_name (no debug info)" } else { fail $gdb_test_name }