From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128086 invoked by alias); 12 Feb 2016 18:34:21 -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 127907 invoked by uid 89); 12 Feb 2016 18:34:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=UD:gdb.arch, gdb.arch, UD:arch, corefile X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 12 Feb 2016 18:34:19 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 13.56.32102.2952EB65; Fri, 12 Feb 2016 19:33:55 +0100 (CET) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.77) with Microsoft SMTP Server id 14.3.248.2; Fri, 12 Feb 2016 13:34:17 -0500 Subject: Re: [testsuite 7.11] Regression for i386-biarch-core.exp and others [Re: [PATCH] Always organize test artifacts in a directory hierarchy] To: Jan Kratochvil 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> CC: Joel Brobecker , Pedro Alves , From: Simon Marchi Message-ID: <56BE25A8.30609@ericsson.com> Date: Fri, 12 Feb 2016 18:34:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160211212219.GA23888@host1.jankratochvil.net> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00423.txt.bz2 On 16-02-11 04:22 PM, Jan Kratochvil wrote: > On Mon, 08 Feb 2016 20:26:41 +0100, Simon Marchi wrote: >> Ok, I pushed this patch. I am now waiting to know what I broke. > > Running /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.arch/i386-biarch-core.exp ... > PASS: gdb.arch/i386-biarch-core.exp: complete set gnutarget > PASS: gdb.arch/i386-biarch-core.exp: core-file > PASS: gdb.arch/i386-biarch-core.exp: .text is readable > -> > Running /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.arch/i386-biarch-core.exp ... > PASS: gdb.arch/i386-biarch-core.exp: complete set gnutarget > UNTESTED: gdb.arch/i386-biarch-core.exp: failed bzip2 > > Reproducible with: > tar xJf gdb-7.10.90.20160211.tar.xz;cd gdb-7.10.90.20160211;./configure;make;make -C gdb check//unix/-m64 RUNTESTFLAGS=gdb.arch/i386-biarch-core.exp > Running /tmp/gdb-7.10.90.20160211/gdb/testsuite/gdb.arch/i386-biarch-core.exp ... > sh: /tmp/gdb-7.10.90.20160211/gdb/testsuite.unix.-m64/gdb.arch/i386-biarch-core.core: No such file or directory > === gdb Summary === > # of expected passes 1 > # of untested testcases 1 > > I have not debugged it more yet. > > > Jan Hi Jan, I think this patch should fix it. It simply makes the test use standard_output_file for its output directory. Simon >From c643fde26ecdc63c399ac4f26fd31920148fae77 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 12 Feb 2016 13:17:32 -0500 Subject: [PATCH] i386-biarch-core.exp: Use standard_output_file Fix the core file path to use the standard output directory. gdb/testsuite/ChangeLog: * i386-biarch-core.exp: Define corefile using standard_output_file. --- gdb/testsuite/gdb.arch/i386-biarch-core.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.arch/i386-biarch-core.exp b/gdb/testsuite/gdb.arch/i386-biarch-core.exp index 607b947..4dc5ba6 100644 --- a/gdb/testsuite/gdb.arch/i386-biarch-core.exp +++ b/gdb/testsuite/gdb.arch/i386-biarch-core.exp @@ -40,7 +40,7 @@ gdb_test_multiple "complete set gnutarget " $test { } set corebz2file ${srcdir}/${subdir}/${testfile}.core.bz2 -set corefile ${objdir}/${subdir}/${testfile}.core +set corefile [standard_output_file ${testfile}.core] # Entry point of the original executable. set address 0x400078 -- 2.5.1