1
0
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:
Mark Pizzolato
2022-11-12 17:23:41 -10:00
committed by Paul Koning
parent 756ac0d2a1
commit 6c398df0ae
5 changed files with 7 additions and 7 deletions

View File

@@ -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