From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6904 invoked by alias); 14 Feb 2014 00:26:07 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 6894 invoked by uid 89); 14 Feb 2014 00:26:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Feb 2014 00:26:06 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1WE6bR-0003sk-UH from joseph_myers@mentor.com ; Thu, 13 Feb 2014 16:26:01 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Feb 2014 16:26:01 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Fri, 14 Feb 2014 00:25:59 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1WE6bO-0007Lc-QI; Fri, 14 Feb 2014 00:25:58 +0000 Date: Fri, 14 Feb 2014 00:26:00 -0000 From: "Joseph S. Myers" To: Steve Ellcey CC: Subject: Re: [PATCH, testsuite] Fix profile test failures In-Reply-To: <1392335346.17835.98.camel@ubuntu-sellcey> Message-ID: References: <2e4e3d80-6505-4f09-8a24-01e99dcda418@BAMAIL02.ba.imgtec.org> <1392335346.17835.98.camel@ubuntu-sellcey> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2014-02/txt/msg00874.txt.bz2 On Thu, 13 Feb 2014, Steve Ellcey wrote: > So let me make sure I understand this: host is where you run the > testsuite from, build is where the compilation happens (probably the > same as host for most people), and target is where the test program is > executed. Host is the system on which the compilers being tested run. Build is the system on which runtest runs and executes the .exp files. They are only different in the case of remote-host testing (using DejaGnu on GNU/Linux to test a compiler for Windows host, for example) - typically the same cases in which a Canadian cross compiler is built. > > To determine whether anything should be changed in a GCC .exp file, reason > > about which of the three systems (build, host, target) a file is on, or is > > needed on, at each point, rather than looking at what does or does not > > work with a buggy board file. > > I am not convinced that the problem is in the board file because the > only tests I see fail this way are the ones in g++.exp/bprob and that is > also the only GCC .exp file that uses remote_upload or remote_file > with 'target'. I will dig into it some more and also try it with some > different boards. Branch profiling involves the generated executables creating files with profile information when they run, so those files (on the target) need manipulating. Most testsuites do not involve testcases generating any files. But the libstdc++ testsuite uses remote_download to transfer files to the target, because various testcases need to open and read input files. -- Joseph S. Myers joseph@codesourcery.com