From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11982 invoked by alias); 29 Jun 2010 21:14:59 -0000 Received: (qmail 11974 invoked by uid 22791); 29 Jun 2010 21:14:59 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Jun 2010 21:14:52 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5TLEpbp024042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 29 Jun 2010 17:14:51 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5TLEm9w014965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 29 Jun 2010 17:14:50 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o5TLEmf8009989 for ; Tue, 29 Jun 2010 23:14:48 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o5TLElxp009988 for gdb-patches@sourceware.org; Tue, 29 Jun 2010 23:14:47 +0200 Date: Tue, 29 Jun 2010 21:14:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Subject: [patch] testsuite: Remove KFAILs for c++/11702 Message-ID: <20100629211447.GA9907@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00685.txt.bz2 Hi, now that c++/11702 is fixed I believe we should remove its KFAILs. Tested on x86_64-fedora13-linux-gnu on updates,{-testing} and with GCC HEAD. Probably obvious but asking for approval. Thanks, Jan 2010-06-29 Jan Kratochvil * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar) (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for c++/11702. --- a/gdb/testsuite/gdb.cp/namespace.exp +++ b/gdb/testsuite/gdb.cp/namespace.exp @@ -186,17 +186,7 @@ if {[test_compiler_info {gcc-[0-3]-*}] setup_xfail *-*-* } gdb_test "whatis ::C::OtherFileClass::cOtherFileClassType" "type = short" - -set test "print C::OtherFileClass::cOtherFileClassVar" -gdb_test_multiple $test $test { - -re "\\$\[0-9\].* = 318\r\n$gdb_prompt $" { - pass $test - } - -re "static field cOtherFileClassVar has been optimized out\r\n$gdb_prompt $" { - setup_kfail "c++/11702" "*-*-*" - fail $test - } -} +gdb_test "print C::OtherFileClass::cOtherFileClassVar" " = 318" # FSF GCC <=4.4 creates unqualified DIE "cOtherFileClassVar" ignoring the # namespace the same way older GDB did. @@ -206,16 +196,7 @@ gdb_test_multiple $test $test { -re "No symbol \"cOtherFileClassVar\" in current context\\.\r\n$gdb_prompt $" { pass $test - gdb_test_multiple $test2 $test2 { - -re "\\$\[0-9\].* = 318\r\n$gdb_prompt $" { - pass $test2 - } - -re "static field cOtherFileClassVar has been optimized out\r\n$gdb_prompt $" { - setup_kfail "c++/11702" "*-*-*" - fail $test2 - } - } - + gdb_test $test2 " = 318" } -re "\\$\[0-9\].* = 318\r\n$gdb_prompt $" { if {[test_compiler_info {gcc-[0-3]-*}]