This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Passing options to SID in run-sid-tests-raw


Hi,

I've committed the attached patch which passes sid-opts to sid in run-sid-tests-raw. Up until now, sid-opts was ignored.

Dave

2005-05-12  Dave Brolley  <brolley@redhat.com>

	* lib/cpudefs.exp (run-sid-tests-raw): Pass sid-opts to sid.

Index: sid/component/testsuite/lib/cpudefs.exp
===================================================================
RCS file: /cvs/src/src/sid/component/testsuite/lib/cpudefs.exp,v
retrieving revision 1.7
diff -c -p -r1.7 cpudefs.exp
*** sid/component/testsuite/lib/cpudefs.exp	28 Oct 2003 18:24:59 -0000	1.7
--- sid/component/testsuite/lib/cpudefs.exp	12 May 2005 15:50:26 -0000
*************** proc run-sid-tests-raw { toolchain-prefi
*** 130,142 ****
         set testcase-dir [file dirname $src]
         set exe-name ${name}.${exe-suffix}
  
!        # Set sid-opts and run the test.
!        set sid-opts "${conf-file} -e \"set cpu-loader file ${exe-name}\" ${conf-line}"
         run-one-sid-test \
                 $as ${as-opts} \
                 $ld ${ld-opts} \
                 {} {} \
!                $sid ${sid-opts} \
                 ${all-machs} $src ${exe-suffix} \
                 $runner
      }
--- 130,142 ----
         set testcase-dir [file dirname $src]
         set exe-name ${name}.${exe-suffix}
  
!        # Set all-sid-opts and run the test.
!        set all-sid-opts "${conf-file} -e \"set cpu-loader file ${exe-name}\" ${sid-opts} ${conf-line}"
         run-one-sid-test \
                 $as ${as-opts} \
                 $ld ${ld-opts} \
                 {} {} \
!                $sid ${all-sid-opts} \
                 ${all-machs} $src ${exe-suffix} \
                 $runner
      }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]