From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12874 invoked by alias); 14 Feb 2014 17:24:31 -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 12863 invoked by uid 89); 14 Feb 2014 17:24:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: multi.imgtec.com Received: from multi.imgtec.com (HELO multi.imgtec.com) (194.200.65.239) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 14 Feb 2014 17:24:30 +0000 Message-ID: <1392398663.17835.120.camel@ubuntu-sellcey> Subject: Re: [PATCH, testsuite] Fix profile test failures From: Steve Ellcey To: Richard Sandiford CC: "Joseph S. Myers" , Date: Fri, 14 Feb 2014 17:24:00 -0000 In-Reply-To: <87ppmqrlra.fsf@sandifor-thinkpad.stglab.manchester.uk.ibm.com> References: <2e4e3d80-6505-4f09-8a24-01e99dcda418@BAMAIL02.ba.imgtec.org> <1392335346.17835.98.camel@ubuntu-sellcey> <87ppmqrlra.fsf@sandifor-thinkpad.stglab.manchester.uk.ibm.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-SEF-Processed: 7_3_0_01192__2014_02_14_17_24_26 X-SW-Source: 2014-02/txt/msg00933.txt.bz2 On Fri, 2014-02-14 at 11:12 +0000, Richard Sandiford wrote: > Using target in itself should be OK. The hostname for rsh/ssh should be > [board_info $board hostname] rather than $board itself. So in this case > [board_info "multi-sim/-EL" hostname] should be multi-sim. The usual way > to set that up is to put: > > set_board_info hostname multi-sim > > in multi-sim.exp. > > Thanks, > Richard Richard and Joseph, thanks for the pointers. I tried Richards change and it partially fixed the problem. My board started doing an rsh/ssh to 'multi-sim' instead of 'multi-sim/-EL' but that command times out because multi-sim is not a machine that I can rsh/ssh to, it is just the name of my dejagnu baseboard. Looking around some more I found sim.exp in dejagnu (which I include in my board) and I see it has overrides for load, upload, and download but no override for exec. I added this to config/sim.exp: proc sim_exec { dest srcfile args } { return [remote_exec host $srcfile $args] } to match the sim_upload and sim_download definitions and things seem to work now. In fact, now that I have this change to sim.exp I no longer need to set hostname in multi-sim.exp. I will submit the config/sim.exp patch to the dejagnu mailing list later today. Steve Ellcey sellcey@mips.com