Annotation of parser3/tests/run_tests.cmd, revision 1.1
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
! 6: set DIFF_DIR=..\..\win32\tools
! 7: set DIFF_EXECUTABLE=diff.exe -b
! 8: set PARSER_CONFIG=results\auto.p
! 9: set RUN_PARSER=run_parser.cmd
! 10:
! 11: del /Q "outputs\*.processed"
! 12:
! 13: for %%f in (*.html) do ( call :outputs %%f %%~nf )
! 14:
! 15: for %%f in (*.html) do ( call :compares %%f %%~nf )
! 16:
! 17: pause
! 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: