home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / remind / src / test-rem.bat < prev    next >
Encoding:
DOS Batch File  |  1993-10-25  |  903 b   |  31 lines

  1. @echo off
  2. rem ---------------------------------------------------------------------------
  3. rem TEST-REM
  4. rem
  5. rem This file runs an MSDOS acceptance test for Remind.  To use it, type:
  6. rem     test-rem
  7. rem in the build directory.
  8. rem
  9. rem This file is part of REMIND.
  10. rem Copyright (C) 1992, 1993 by David F. Skoll
  11. rem ---------------------------------------------------------------------------
  12.  
  13. del test.out > nul
  14. set TEST_GETENV=foo bar baz
  15. if exist ..\msdos-ex\remind.exe goto bcc
  16. remind -e -dxte ./test.rem 16 feb 1991 > test.out
  17. goto cmp
  18. :bcc
  19. ..\msdos-ex\remind -e -dxte .\test.rem 16 feb 1991 > test.out
  20. :cmp
  21. echo n | comp test.out test1.cmp
  22. if errorlevel 1 goto oops
  23. echo "Remind:  Acceptance test PASSED"
  24. goto quit
  25. :oops
  26. echo "Remind:  Acceptance test FAILED"
  27. echo ""
  28. echo "Examine the file test.out to see where it differs from the"
  29. echo "reference file test1.cmp."
  30. :quit
  31.