From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25341 invoked by alias); 28 Oct 2003 18:32:07 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 25334 invoked from network); 28 Oct 2003 18:32:06 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 28 Oct 2003 18:32:06 -0000 Received: from redhat.com (topaz.toronto.redhat.com [172.16.14.227]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 6103380040D for ; Tue, 28 Oct 2003 13:32:06 -0500 (EST) Message-ID: <3F9EB626.7010409@redhat.com> Date: Tue, 28 Oct 2003 18:32:00 -0000 From: Dave Brolley Organization: Red Hat Canada, Ltd User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021216 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sid@sources.redhat.com Subject: [patch] Running sidcomp.cgen-cpu.* tests using run-sid-tests-raw Content-Type: multipart/mixed; boundary="------------040309030800080704020600" X-SW-Source: 2003-q4/txt/msg00036.txt.bz2 This is a multi-part message in MIME format. --------------040309030800080704020600 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 356 I've committed the attached patch which allows run-sid-tests-raw to work. find_rawsid is used by other tools to find sid and they typically have the ,atching setting of tool_root_dir (i.e. the root of the build tree). However, when running sidcomp.cgen-cpu.* tests tool_root_dir is set to $build/sid, so sid_find_sid is the correct proc to use. Dave --------------040309030800080704020600 Content-Type: text/plain; name="check-sid.ChangeLog" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="check-sid.ChangeLog" Content-length: 107 2003-10-28 Dave Brolley * lib/cpudefs.exp (run-sid-tests-raw): Use sid_find_sid. --------------040309030800080704020600 Content-Type: text/plain; name="check-sid.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="check-sid.patch.txt" Content-length: 957 Index: sid/component/testsuite/lib/cpudefs.exp =================================================================== RCS file: /cvs/src/src/sid/component/testsuite/lib/cpudefs.exp,v retrieving revision 1.6 retrieving revision 1.7 diff -c -p -r1.6 -r1.7 *** sid/component/testsuite/lib/cpudefs.exp 29 Nov 2002 05:33:14 -0000 1.6 --- sid/component/testsuite/lib/cpudefs.exp 28 Oct 2003 18:24:59 -0000 1.7 *************** proc run-sid-tests-raw { toolchain-prefi *** 44,50 **** set as [sid_find_gas ${toolchain-prefix}] set ld [sid_find_ld ${toolchain-prefix}] ! set sid [find_rawsid] set runner sid-run-conf foreach src [lsort [glob -nocomplain ${testcase-srcdir}/$pattern]] { --- 44,50 ---- set as [sid_find_gas ${toolchain-prefix}] set ld [sid_find_ld ${toolchain-prefix}] ! set sid [sid_find_sid] set runner sid-run-conf foreach src [lsort [glob -nocomplain ${testcase-srcdir}/$pattern]] { --------------040309030800080704020600--