From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15668 invoked by alias); 31 Mar 2014 13:50:36 -0000 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 Received: (qmail 15658 invoked by uid 89); 31 Mar 2014 13:50:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 31 Mar 2014 13:50:28 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Mon, 31 Mar 2014 14:50:26 +0100 Received: from [10.1.207.52] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 31 Mar 2014 14:50:42 +0100 Message-ID: <533972A1.6030604@arm.com> Date: Mon, 31 Mar 2014 13:50:00 -0000 From: Marcus Shawcroft User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [PATCH] Drop prefix from unsupported source path. X-MC-Unique: 114033114502603401 Content-Type: multipart/mixed; boundary="------------040803030401020002040203" X-SW-Source: 2014-03/txt/msg00691.txt.bz2 This is a multi-part message in MIME format. --------------040803030401020002040203 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-length: 471 Hi, Various gdb tests report the absolute path to a source file in an=20 UNSUPPORTED outcome. This creates noise when comparing result output=20 with previous test runs. This patch drops the directory prefix from the=20 reported path in a couple of the offending unsupported calls. OK? Cheers /Marcus 2014-03-31 Marcus Shawcroft * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc): Drop prefix from unsupported source file path.= --------------040803030401020002040203 Content-Type: text/plain; charset=UTF-8; name=gdb-test-path-1.txt Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="gdb-test-path-1.txt" Content-length: 719 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 73e935a..dd59738 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2828,7 +2828,7 @@ proc gdb_compile_pthreads {source dest type options} { } } if {!$built_binfile} { - unsupported "Couldn't compile $source: ${why_msg}" + unsupported "Couldn't compile [file tail $source]: ${why_msg}" return -1 } } @@ -3000,7 +3000,7 @@ proc gdb_compile_objc {source dest type options} { } } if {!$built_binfile} { - unsupported "Couldn't compile $source: ${why_msg}" + unsupported "Couldn't compile [file tail $source]: ${why_msg}" return -1 } }= --------------040803030401020002040203--