README 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. ts010023.pp tests set of char parameter passing
  30. ts010024.pp tests att asm reference parsing
  31. ts010025.pp tests intel asm reference parsing
  32. -
  33. ts10100.pp tests for delphi object model
  34. ts101xx.pp
  35. tf000001.pp stupid example that creates a GPF sometimes
  36. tf000002.pp tests that use of a type as a member of an expression is not possible
  37. to000000.pp shows when uncertain optimizations can cause wrong code
  38. testcrt.pp test crt unit functions
  39. testdos.pp test dos unit functions
  40. testset.pp test set functions
  41. testheap.pp test heap functions
  42. teststr.pp test string functions and speed
  43. testaoc.pp test Array of construct.
  44. testansi.pp test ansistrings
  45. testrtti.pp test RTTI generation and typinfo unit.