mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
VAX: Use random console telnet port number during build tests
This avoids some platform cases where SO_REUSEADDR isn't always effective.
This commit is contained in:
parent
01bac285ec
commit
82f07c9ab7
@ -32,8 +32,10 @@ on runtime echof "\r\n*** Test Runtime Limit %SIM_RUNLIMIT% %SIM_RUNLIMIT_UNITS%
|
||||
|
||||
:NEXT_ARG
|
||||
set env DIAG_QUIET_MODE=0
|
||||
set env -A TELNET_PORT=(65300+TIME_SS)
|
||||
echo TELNET_PORT=%TELNET_PORT%
|
||||
if ("%1" == "-v") set console notelnet;shift
|
||||
else set -qu console telnet=localhost:65432,telnet=buffered=1048576; set env -a DIAG_QUIET_MODE=1
|
||||
else set -qu console telnet=localhost:%TELNET_PORT%,telnet=buffered=1048576; set env -a DIAG_QUIET_MODE=1
|
||||
set env DIAG_UNCALIBRATED_CLOCK=1
|
||||
if ("%1" == "-c") set env DIAG_UNCALIBRATED_CLOCK=0;shift
|
||||
if ("%1" != "") goto NEXT_ARG
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user