1: @echo off
2: if "%XSRC%" == "" set XSRC=.
3: test -f %XSRC%/tests/stateful-check.org
4: if errorlevel 1 update %XSRC%/tests/stateful-check %XSRC%/tests/stateful-check.org
5: sed -f %XSRC%/djgpp/stateful-check.sed %XSRC%/tests/stateful-check.org > stateful-check
6: if errorlevel 1 goto SedError
7: update ./stateful-check %XSRC%/tests/stateful-check
8: rm -f ./stateful-check
9:
10: test -f %XSRC%/tests/stateless-check.org
11: if errorlevel 1 update %XSRC%/tests/stateless-check %XSRC%/tests/stateless-check.org
12: sed -f %XSRC%/djgpp/stateless-check.sed %XSRC%/tests/stateless-check.org > stateless-check
13: if errorlevel 1 goto SedError
14: update ./stateless-check %XSRC%/tests/stateless-check
15: rm -f ./stateless-check
16:
17: test -f %XSRC%/tests/failuretranslit-check.org
18: if errorlevel 1 update %XSRC%/tests/failuretranslit-check %XSRC%/tests/failuretranslit-check.org
19: sed -f %XSRC%/djgpp/translit-check.sed %XSRC%/tests/failuretranslit-check.org > failuretranslit-check
20: if errorlevel 1 goto SedError
21: update ./failuretranslit-check %XSRC%/tests/failuretranslit-check
22: rm -f ./failuretranslit-check
23:
24: test -f %XSRC%/tests/translit-check.org
25: if errorlevel 1 update %XSRC%/tests/translit-check %XSRC%/tests/translit-check.org
26: sed -f %XSRC%/djgpp/translit-check.sed %XSRC%/tests/translit-check.org > translit-check
27: if errorlevel 1 goto SedError
28: update ./translit-check %XSRC%/tests/translit-check
29: rm -f ./translit-check
30: goto End
31:
32: :SedError
33: echo test script editing failed!
34:
35: :End
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>