test.cmd
来自「开放源码的编译器open watcom 1.6.0版的源代码」· CMD 代码 · 共 131 行
CMD
131 行
@echo off
SET TRMEM_CODE=1
set from=%cd%
cd %devdir%\wmake\regress
if exist error.out del error.out
if .%1 == . goto usage
REM ===========================
REM Build utilities first
REM ===========================
cd cmds
wmake -h
cd ..
REM ===========================
REM -- test1 - Multiple Dependents Test
REM ===========================
echo *****************************************************************
cd TEST1
call test %1 ..\error.out
cd ..
:tst2
REM ===========================
REM -- TEST2 - Implicit Rules Test
REM ===========================
echo *****************************************************************
cd IMPLICIT
call test %1 ..\error.out
cd ..
:tst3
REM ===========================
REM -- FORTEST - FOR LOOP TEST
REM ===========================
echo *****************************************************************
cd FORTEST
call test %1 ..\error.out
cd ..
:tst4
REM ===========================
REM -- PRETEST - PRE COMPILER TEST
REM ===========================
echo *****************************************************************
cd PRETEST
call dopre %1 ..\error.out
cd ..
:tst5
REM ===========================
REM -- UPDTEST - UPDATE TEST
REM ===========================
echo *****************************************************************
cd UPDTEST
call doupd %1 ..\error.out
cd ..
:tst6
set TRMEM_CODE=3
REM ===========================
REM -- ERRTEST - ERROR TEST
REM ===========================
echo *****************************************************************
cd ERRTEST
call error %1 ..\error.out
cd ..
:tst7
set TRMEM_CODE=1
REM ===========================
REM -- INLINE TEST -
REM ===========================
echo *****************************************************************
cd INLINE
call test %1 ..\error.out
cd ..
:tst8
REM ===========================
REM -- PREPROCESS TEST -
REM ===========================
echo *****************************************************************
cd PREPROC
call test %1 ..\error.out
cd ..
:tst9
REM ===========================
REM -- MACROS TEST -
REM ===========================
echo *****************************************************************
cd MACROS
call test %1 ..\error.out
cd ..
:tst10
REM ===========================
REM -- MISC TEST -
REM ===========================
echo *****************************************************************
cd MISC
call test %1 ..\error.out
cd ..
:tst11
REM ===========================
REM -- LONG FILENAME TEST -
REM ===========================
echo *****************************************************************
cd LONGFILE
call test %1 ..\error.out
cd ..
REM ===========================
REM -- End of Test
REM ===========================
echo ************* DONE DONE DONE ********************
if exist error.out echo !!!!!!!! ERRORS FOUND !!!!!!!!!!
if exist error.out echo look at error.out for listing
goto done
:usage
echo "%0 <prgname>"
:done
cd %from%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?