readme.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. TESTS directory for FPC :
  2. several test programs for FPC
  3. with compilation and execution tests.
  4. Standard way :
  5. 'make tests' will try to compile all the sources
  6. will printout a list of errors
  7. - programs that do not compile but should
  8. - programs that do compile when they should create an error !
  9. 'make allexec' will try to run all non interactive executables
  10. 'make alltesiexec' will try to run all interactive executables
  11. source files are separated in different pattern :
  12. ts*.pp
  13. files that should compile and run without error (if programs !)
  14. target 'allts' compiles all these files
  15. ts*.log contains the output of the compiler
  16. ts*.res contains the return code (should be zero !)
  17. target 'alltsexec' runs all these files
  18. they are run non interactively without arguments
  19. ts*.exc contains the return code should be zero
  20. (I basically added some halt(1) if the
  21. execution is faulty !)
  22. ts*.elg contains the output of the program
  23. tf*.pp
  24. files that should fail on compilation
  25. target 'alltf' tries to compile all these files
  26. tf*.res should have a non zero value !!
  27. to*.pp special case for optimization
  28. (treated like ts*.pp)
  29. test*.pp are treated like ts*.pp
  30. but with targets 'alltest' and 'alltestexec'
  31. tesi*.pp are special cases of programs that require interactive
  32. handling (readln or keypressed ...)
  33. these are only executed with tagert 'alltesiexec'
  34. Lastly :
  35. tbs*.pp are like ts*.pp
  36. but are translations from the bugs directory
  37. (i.e. tests that the bug has been removed !!)
  38. tbf*.pp are like tf*.pp
  39. tis*.pp are like tesi*.pp