From patchwork Mon Feb 15 17:58:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kratochvil X-Patchwork-Id: 10867 Received: (qmail 62789 invoked by alias); 15 Feb 2016 17:58:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 62779 invoked by uid 89); 15 Feb 2016 17:58:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sk:is_x86_, asms, UD:gdb.arch, gdb.arch X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 15 Feb 2016 17:58:49 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id BA3E1C0BBE53; Mon, 15 Feb 2016 17:58:48 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-46.ams2.redhat.com [10.36.116.46]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1FHwhoa018213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 15 Feb 2016 12:58:47 -0500 Date: Mon, 15 Feb 2016 18:58:42 +0100 From: Jan Kratochvil To: Simon Marchi Cc: Joel Brobecker , Pedro Alves , gdb-patches@sourceware.org Subject: [testsuite obv+7.11] Fix more testcases with standard_output_file [Re: [testsuite 7.11] Regression for i386-biarch-core.exp and others] Message-ID: <20160215175842.GA17568@host1.jankratochvil.net> References: <1452268308-23845-1-git-send-email-simon.marchi@ericsson.com> <5694F8D2.5090807@redhat.com> <56952A6C.8070507@ericsson.com> <569630EC.2000702@redhat.com> <20160117063144.GB4059@adacore.com> <56B8EBF1.5020208@ericsson.com> <20160211212219.GA23888@host1.jankratochvil.net> <56BE25A8.30609@ericsson.com> <20160212184710.GA21838@host1.jankratochvil.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160212184710.GA21838@host1.jankratochvil.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes On Fri, 12 Feb 2016 19:47:10 +0100, Jan Kratochvil wrote: > (gdb.base/corefile.exp gdb.base/execl-update-breakpoints.exp listed there do > not reproduce it for me locally now, I will re-check those.) I have rechecked it and fixed these. trunk: c99dbb4246fedd500dbdd50514589fc7f95d80c0 7.11: 8b6bd5aca63189590498195a7a2696cde021c9cd Jan Since commit 2151ccc56c74b55a8f0debf0724a495368f92591 Author: Simon Marchi Date: Mon Feb 8 14:02:36 2016 -0500 Always organize test artifacts in a directory hierarchy these testfiles could not build. gdb/testsuite/ChangeLog 2016-02-15 Jan Kratochvil * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file. * gdb.arch/i386-prologue.exp: Likewise. * gdb.arch/i386-size.exp: Likewise. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.arch/i386-gnu-cfi.exp | 2 +- gdb/testsuite/gdb.arch/i386-prologue.exp | 2 +- gdb/testsuite/gdb.arch/i386-size.exp | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d945411..9dc5085 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-02-15 Jan Kratochvil + + * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file. + * gdb.arch/i386-prologue.exp: Likewise. + * gdb.arch/i386-size.exp: Likewise. + 2016-02-15 Simon Marchi * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to diff --git a/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp b/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp index 247b9ef..b569139 100644 --- a/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp +++ b/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp @@ -31,7 +31,7 @@ if { ![is_x86_like_target] } then { set testfile "i386-gnu-cfi" set srcfilec ${testfile}.c set srcfileasm ${testfile}-asm.S -set binfile ${objdir}/${subdir}/${testfile} +set binfile [standard_output_file ${testfile}] # some targets have leading underscores on assembly symbols. set additional_flags [gdb_target_symbol_prefix_flags] diff --git a/gdb/testsuite/gdb.arch/i386-prologue.exp b/gdb/testsuite/gdb.arch/i386-prologue.exp index 00ccfe5..399c628 100644 --- a/gdb/testsuite/gdb.arch/i386-prologue.exp +++ b/gdb/testsuite/gdb.arch/i386-prologue.exp @@ -28,7 +28,7 @@ if { ![is_x86_like_target] } then { set testfile "i386-prologue" set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} +set binfile [standard_output_file ${testfile}] # some targets have leading underscores on assembly symbols. set additional_flags [gdb_target_symbol_prefix_flags] diff --git a/gdb/testsuite/gdb.arch/i386-size.exp b/gdb/testsuite/gdb.arch/i386-size.exp index 4d49950..61acf2f 100644 --- a/gdb/testsuite/gdb.arch/i386-size.exp +++ b/gdb/testsuite/gdb.arch/i386-size.exp @@ -27,7 +27,7 @@ if { ![is_x86_like_target] } then { set testfile "i386-size" set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} +set binfile [standard_output_file ${testfile}] # some targets have leading underscores on assembly symbols. set additional_flags [gdb_target_symbol_prefix_flags]