This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
[patch] Running sidcomp.cgen-cpu.* tests using run-sid-tests-raw
- From: Dave Brolley <brolley at redhat dot com>
- To: sid at sources dot redhat dot com
- Date: Tue, 28 Oct 2003 13:32:06 -0500
- Subject: [patch] Running sidcomp.cgen-cpu.* tests using run-sid-tests-raw
- Organization: Red Hat Canada, Ltd
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
2003-10-28 Dave Brolley <brolley@redhat.com>
* lib/cpudefs.exp (run-sid-tests-raw): Use sid_find_sid.
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]] {