2015-01-24 14:34:17 +00:00
|
|
|
@setlocal
|
2011-11-17 02:44:16 +00:00
|
|
|
|
2014-08-04 15:02:16 +00:00
|
|
|
@REM alltest.cmd - execute all test cases
|
2015-09-10 11:37:08 +00:00
|
|
|
@REM It runs 'alltest1.cmd', which uses 'onetest.cmd'
|
2014-08-04 15:02:16 +00:00
|
|
|
@REM
|
2015-09-10 11:37:08 +00:00
|
|
|
@REM (c) 1998-2015 (W3C) MIT, ERCIM, Keio University
|
2014-08-04 15:02:16 +00:00
|
|
|
@REM See include/tidy.h for the copyright notice.
|
|
|
|
@REM
|
2015-02-13 11:19:51 +00:00
|
|
|
@REM <URL:http://www.html-tidy.org/>
|
2014-08-04 15:02:16 +00:00
|
|
|
@REM
|
2011-11-17 02:44:16 +00:00
|
|
|
|
2014-08-04 15:02:16 +00:00
|
|
|
@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
|
2015-08-10 16:10:46 +00:00
|
|
|
@set TMPEXE=..\build\cmake\Release\tidy.exe
|
2014-08-04 15:02:16 +00:00
|
|
|
@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
|
2011-11-17 02:44:16 +00:00
|
|
|
|
2015-09-10 11:37:08 +00:00
|
|
|
@REM Set an output file - used in alltest1.cmd and onetest.cmd
|
|
|
|
@set TMPTEST=temptest.txt
|
2014-08-04 15:02:16 +00:00
|
|
|
@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
|