[commit] Passing options to SID in run-sid-tests-raw
Dave Brolley <[email protected]>
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
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
sid-test.ChangeLog
(text/plain, 111 B)
2005-05-12 Dave Brolley <[email protected]> * lib/cpudefs.exp (run-sid-tests-raw): Pass sid-opts to sid.
sid-test.patch.txt
(text/plain, 1.4 KB)
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
}