mirror of
https://github.com/open-simh/simh.git
synced 2026-02-08 17:31:59 +00:00
simulator tests: Fix test setup to tolerate very busy or slow host systems
Adjust the RUNLIMIT to specify instructions instead of wall clock time. On an unfettered system, the sel32 test completes after some 588 million instructions. On a slow host system, the system clock tick processing will add to the total instructions executed. Increase the limit to 750 million instructions.
This commit is contained in:
committed by
Paul Koning
parent
756ac0d2a1
commit
6c398df0ae
@@ -7,7 +7,7 @@
|
||||
cd %~p0
|
||||
|
||||
:: Limit maximum diagnostic execution time
|
||||
runlimit 2 minutes
|
||||
runlimit 1500M instructions
|
||||
set on
|
||||
on error ignore
|
||||
on runtime echof "\r\n*** Test Runtime Limit %SIM_RUNLIMIT% %SIM_RUNLIMIT_UNITS% Exceeded ***\n"; exit 1
|
||||
|
||||
Reference in New Issue
Block a user