Annotation of parser3/tests/run_tests.cmd, revision 1.3
1.1 misha 1: @echo off
2: echo The system timezone should be GMT+3!
3:
4: set PARSER_DIR=..\src\targets\cgi\release
5: set PARSER_EXECUTABLE=parser3.exe
1.2 misha 6: set CYGWIN=nodosfilewarning
7: set DIFF_DIR=..\..\win32\tools\cygwin\bin
1.1 misha 8: set DIFF_EXECUTABLE=diff.exe -b
9: set PARSER_CONFIG=results\auto.p
10: set RUN_PARSER=run_parser.cmd
11:
12: del /Q "outputs\*.processed"
13:
14: for %%f in (*.html) do ( call :outputs %%f %%~nf )
15:
16: for %%f in (*.html) do ( call :compares %%f %%~nf )
17:
18: goto :end
19:
20:
21: :outputs
22: echo %RUN_PARSER% %PARSER_DIR%\%PARSER_EXECUTABLE% %1 %PARSER_CONFIG% ^> outputs\%2.processed
23: (call %RUN_PARSER% %PARSER_DIR%\%PARSER_EXECUTABLE% %1 %PARSER_CONFIG%) > outputs\%2.processed
24: goto :end
25:
26:
27: :compares
28: echo %DIFF_EXECUTABLE% results\%2.processed outputs\%2.processed
29: %DIFF_DIR%\%DIFF_EXECUTABLE% results\%2.processed outputs\%2.processed
30: goto :end
31:
32:
33:
34: :end
E-mail: