40 lines
1.4 KiB
Batchfile
Executable file
40 lines
1.4 KiB
Batchfile
Executable file
@setlocal
|
|
|
|
@REM alltest.cmd - execute all test cases
|
|
@REM It runs 'alltest1.cmd', which uses 'onetest.cmd'
|
|
@REM
|
|
@REM (c) 1998-2015 (W3C) MIT, ERCIM, Keio University
|
|
@REM See include/tidy.h for the copyright notice.
|
|
@REM
|
|
@REM <URL:http://www.html-tidy.org/>
|
|
@REM
|
|
|
|
@REM ########################################################
|
|
@REM ### *** SET LOCATION OF TIDY EXE TO USE FOR TEST *** ###
|
|
@REM ### (for MS compiler users) ###
|
|
@REM ########################################################
|
|
@REM call alltest1 ..\build\msvc\Release\tidy.exe .\tmp
|
|
@REM call alltest1 ..\bin\tidy.exe .\tmp
|
|
@REM ########################################################################
|
|
@REM This is the location of the cmake build output using the MSVC Generator
|
|
@set TMPEXE=..\build\cmake\Release\tidy.exe
|
|
@REM === some other test EXE I can use for compare ===
|
|
@REM set TMPEXE=C:\Projects\tidy\tidy-cvs\build\msvc\Release\tidy.exe
|
|
@REM set TMPEXE=C:\MDOS\tidydev.exe
|
|
@REM ########################################################################
|
|
@if NOT EXIST %TMPEXE% goto NOEXE
|
|
|
|
@REM Set an output file - used in alltest1.cmd and onetest.cmd
|
|
@set TMPTEST=temptest.txt
|
|
@if EXIST %TMPTEST% @del %TMPTEST%
|
|
|
|
@call alltest1 %TMPEXE% temp-5
|
|
|
|
@goto END
|
|
|
|
:NOEXE
|
|
@echo.
|
|
@echo Error: Can NOT locate %TMPEXE%! Has it been built?
|
|
@echo *** FIX ME *** setting the location of the EXE to use for the test
|
|
:END
|