README 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. This directory contains a testsuite for the Free Pascal Compiler.
  2. Tests starting with 'ts' have to compile and execute.
  3. Tests starting with 'tf' will throw an error when compiling.
  4. You can use the batch files to do all tests. testall.bat will compile all
  5. tests.
  6. template1.bat is a template for compiling tests that have to run and
  7. execute.
  8. template2.bat is a template for compiling tests that should crash the
  9. compiler. The test is considered passed if the compiler reports
  10. an error (crashes aren't allowed).
  11. Test files
  12. ----------
  13. ts010000.pp tests properties
  14. ts010001.pp tests class references (class of)
  15. ts010002.pp common Delphi object model test
  16. ts010003.pp tests the crt unit colors
  17. ts010004.pp tests forward classes
  18. ts010005.pp tests method overriding
  19. ts010006.pp tests libraries
  20. ts010015.pp tests typed files.
  21. ts010016.pp tests conversion of smallsets in normsets in consts
  22. ts010017.pp tests the problem of iocheck inside iocheck routines
  23. ts010018.pp tests the problem of enums inside objects
  24. ts010019.pp tests problems of name mangling
  25. ts010020.pp tests for const strings problems if const is a single char.
  26. ts010021.pp test for long mangled names (they are strings, ie no longer then
  27. 255 chars (but they have to be allways shorten the same way !!)
  28. ts010022.pp tests a problem of writing pchar in files
  29. ts10100.pp tests for delphi object model
  30. -
  31. ts101xx.pp
  32. tf000001.pp stupid example that creates a GPF sometimes
  33. tf000002.pp tests that use of a type as a member of an expression is not possible
  34. to000000.pp shows when uncertain optimizations can cause wrong code
  35. testcrt.pp test crt unit functions
  36. testdos.pp test dos unit functions
  37. testset.pp test set functions
  38. testheap.pp test heap functions
  39. teststr.pp test string functions and speed