[patch] Running sidcomp.cgen-cpu.* tests using run-sid-tests-raw

Dave Brolley <[email protected]>
Newsgroups gmane.comp.emulators.sid.devel
Organization Red Hat Canada, Ltd
Message-ID <[email protected]>
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
check-sid.ChangeLog (text/plain, 107 B)
2003-10-28  Dave Brolley  <[email protected]>

	* lib/cpudefs.exp (run-sid-tests-raw): Use sid_find_sid.
check-sid.patch.txt (text/plain, 957 B)
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]] {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.