1
0
mirror of https://github.com/simh/simh.git synced 2026-04-17 16:44:15 +00:00

All VAX: fix makefile invocation of VAX diagbistuc tests

This commit is contained in:
Mark Pizzolato
2018-09-28 15:46:50 -07:00
parent 568a80dfb8
commit a56e55b8ac
9 changed files with 23 additions and 41 deletions

View File

@@ -1,4 +0,0 @@
load ehkaa.exe
go 200
if (PC != 0x80018AD1) echof "\r\n%SIM_NAME% Hardware Core Instruction test EHKAA - FAILED\n"; exit 1
else echof "\r\n%SIM_NAME% Hardware Core Instruction test EHKAA - PASSED\n"; exit 0

View File

@@ -1,7 +0,0 @@
set -qu console telnet=65432,telnet=buffered
load evkaa.exe
expect "Hit any key to continue" send "\r"; go -q
expect [2] "done!" echof "\r\n%SIM_NAME% Hardware Core Instruction test EVKAA - PASSED\n"; exit 0
go -q 200
echof "\r\n%SIM_NAME% Hardware Core Instruction test EVKAA - FAILED\n"
exit 1

View File

@@ -1,2 +0,0 @@
cd VAX/tests
do VAX-DIAG.ini %1

View File

@@ -6,7 +6,9 @@
:: if the script is invoked with -v as a parameter, verbose
:: diagnostic output will be produced.
::
#echof "%%0=%0\n"
:: The related diagnostic files must be located in the same directory
:: as this procedure.
::
#set clock async
#set debug -ntp todr.dbg
#set todr debug
@@ -15,6 +17,7 @@
#set int-clock nodebug=queue;gettime;check
#set cpu hist=20000
#break A3B4 SHOW HIST=40
cd %~p0
set env DIAG_QUIET_MODE=0
if ("%1" == "-v") set console notelnet
else set -qu console telnet=65432,telnet=buffered; set env -a DIAG_QUIET_MODE=1
@@ -26,7 +29,7 @@ exit 0
:DIAG_VAX
:DIAG_MICROVAX3900
echo Running Harware Core Test (EHKAA)
if not exist ehkaa.exe echof "\r\nMISSING - Diagnostic ehkaa.exe is missing\n"; exit 1
if not exist ehkaa.exe echof "\r\nMISSING - Diagnostic '%~p0ehkaa.exe' is missing\n"; exit 1
load ehkaa.exe
go -q 200
if (PC != 0x80018AD1) echof "\r\n*** FAILED - %SIM_NAME% Hardware Core Instruction test EHKAA\n"; exit 1
@@ -37,7 +40,7 @@ else echof "\r\n*** PASSED - %SIM_NAME% Hardware Core Instructi
:DIAG_VAX780
:DIAG_VAX8600
echo Running Harware Core Test (EVKAA)
if not exist evkaa.exe echof "\r\nMISSING - Diagnostic evkaa.exe is missing\n"; exit 1
if not exist evkaa.exe echof "\r\nMISSING - Diagnostic '%~p0evkaa.exe' is missing\n"; exit 1
load evkaa.exe
expect "Hit any key to continue" send "\r"; go -q
expect [2] "done!" echof "\r\n*** PASSED - %SIM_NAME% Hardware Core Instruction test EVKAA\n"; goto extended_tests
@@ -48,7 +51,7 @@ exit 1
:extended_tests
reset -p
if (DIAG_QUIET_MODE) echof "\nStarting VAX Diagnostic Supervisor\n"
if not exist VAX_MINIMUM_DIAGS.dsk echof "\r\nMISSING - Diagnostic disk image VAX_MINIMUM_DIAGS.dsk is missing\n"; exit 1
if not exist VAX_MINIMUM_DIAGS.dsk echof "\r\nMISSING - Diagnostic disk image '%~p0VAX_MINIMUM_DIAGS.dsk' is missing\n"; exit 1
attach -rq rq0 VAX_MINIMUM_DIAGS.dsk
goto %SIM_BIN_NAME%

View File

@@ -1,2 +0,0 @@
cd VAX/tests
do VAX-DIAG.ini %1

View File

@@ -1,2 +0,0 @@
cd VAX/tests
do VAX-DIAG.ini %1

View File

@@ -1,2 +0,0 @@
cd VAX/tests
do VAX-DIAG.ini %1

View File

@@ -1,2 +0,0 @@
cd VAX/tests
do VAX-DIAG.ini %1