home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- REM When we are certain that this is an uploaded fine, i.e. %2 == UPLOAD,
- REM then set the environment variabl DIZ to point to the path of the
- REM description file PCBOARD has written for us.
-
- if %2 == TEST GOTO TESTIT
- if %2 == UPLOAD SET DIZ=%3
-
- C:\LT33\LABTEST.EXE %1 /O /EC:\PCB /NODE1
- IF ERRORLEVEL 1 ECHO The file has failed testing by Labtest! > PCBFAIL.TXT
- IF ERRORLEVEL 0 ECHO The file has passed testing by Labtest! > PCBPASS.TXT
- GOTO END
-
- :TESTIT
- C:\LT33\LABTEST.EXE %1 /O /NC /NR /- /EC:\PCB /NODE1
- IF ERRORLEVEL 1 ECHO The file has failed testing by Labtest! > PCBFAIL.TXT
- IF ERRORLEVEL 0 ECHO The file has passed testing by Labtest! > PCBPASS.TXT
-
- :END
- REM We must always reset the DIZ variable so it doesn't mess up Labtest!
- SET DIZ=
-