Annotation of parser3/tests/run_tests.cmd, revision 1.2

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: pause
                     19: goto :end
                     20: 
                     21: 
                     22: :outputs
                     23: echo %RUN_PARSER% %PARSER_DIR%\%PARSER_EXECUTABLE% %1 %PARSER_CONFIG% ^> outputs\%2.processed
                     24: (call %RUN_PARSER% %PARSER_DIR%\%PARSER_EXECUTABLE% %1 %PARSER_CONFIG%) > outputs\%2.processed
                     25: goto :end
                     26: 
                     27: 
                     28: :compares
                     29: echo %DIFF_EXECUTABLE% results\%2.processed outputs\%2.processed
                     30: %DIFF_DIR%\%DIFF_EXECUTABLE% results\%2.processed outputs\%2.processed
                     31: goto :end
                     32: 
                     33: 
                     34: 
                     35: :end

E-mail: