peter f3b35ea24c * added objfpc mode %!s(int64=25) %!d(string=hai) anos
..
tbf efa4fa2ce4 * delphi tests from Thomas mail %!s(int64=25) %!d(string=hai) anos
tbs f3b35ea24c * added objfpc mode %!s(int64=25) %!d(string=hai) anos
tesi 8d1930db17 * works with new graph unit %!s(int64=25) %!d(string=hai) anos
test a6aa2f8b55 * small fix to compile with latest typinfo %!s(int64=25) %!d(string=hai) anos
testopt b856a450bd + testcse3.pp %!s(int64=25) %!d(string=hai) anos
tf 9bb015f2b4 * nice wrong code that should give an error !! %!s(int64=25) %!d(string=hai) anos
to e7bb989eab * moved *.pp into subdirs %!s(int64=26) %!d(string=hai) anos
ts 013656b007 *** empty log message *** %!s(int64=25) %!d(string=hai) anos
units 17ee448ad9 + also copy smartlibs if they exist %!s(int64=25) %!d(string=hai) anos
webtbf f830cef394 check 784 with and without range check %!s(int64=25) %!d(string=hai) anos
webtbs 187c6ddc30 + two new files %!s(int64=25) %!d(string=hai) anos
Makefile 8b38902424 * exampleinstall target added %!s(int64=25) %!d(string=hai) anos
Makefile.fpc a78fb6c6fe * full target for clean, all compile, all exec %!s(int64=25) %!d(string=hai) anos
README 4598827d00 + some new tests for the goto checking in exception blocks added %!s(int64=26) %!d(string=hai) anos
bugs.txt 04bcb2e1c2 * copied from bugs.txt %!s(int64=25) %!d(string=hai) anos
dotest.pp a2e8fd9f07 *** empty log message *** %!s(int64=25) %!d(string=hai) anos
erroru.pp 2d7670990b bugs 230-241 %!s(int64=26) %!d(string=hai) anos
getret.pp 7f3524c465 * call fninit to avoid make crashes %!s(int64=25) %!d(string=hai) anos
graph.lst 652b045d98 * init %!s(int64=25) %!d(string=hai) anos
readme.txt b39d738e62 + several files for bugs that should fail %!s(int64=27) %!d(string=hai) anos
tbstbf.txt 72f2e9434d * added some new tests %!s(int64=25) %!d(string=hai) anos
win95test.bat 8a7326f5a3 + units directory added to store all needed units %!s(int64=25) %!d(string=hai) anos

README

This directory contains a testsuite for the Free Pascal Compiler.

Tests starting with 'ts' have to compile and execute.
Tests starting with 'tf' will throw an error when compiling.

You can use the batch files to do all tests. testall.bat will compile all
tests.

template1.bat is a template for compiling tests that have to run and
execute.

template2.bat is a template for compiling tests that should crash the
compiler. The test is considered passed if the compiler reports
an error (crashes aren't allowed).


Test files
----------
ts010000.pp tests properties
ts010001.pp tests class references (class of)
ts010002.pp common Delphi object model test
ts010003.pp tests the crt unit colors
ts010004.pp tests forward classes
ts010005.pp tests method overriding
ts010006.pp tests libraries
ts010015.pp tests typed files.
ts010016.pp tests conversion of smallsets in normsets in consts
ts010017.pp tests the problem of iocheck inside iocheck routines
ts010018.pp tests the problem of enums inside objects
ts010019.pp tests problems of name mangling
ts010020.pp tests for const strings problems if const is a single char.
ts010021.pp test for long mangled names (they are strings, ie no longer then
255 chars (but they have to be allways shorten the same way !!)
ts010022.pp tests a problem of writing pchar in files
ts010023.pp tests set of char parameter passing
ts010024.pp tests att asm reference parsing
ts010025.pp tests intel asm reference parsing
-
ts10100.pp tests for delphi object model
ts101xx.pp

tf000001.pp stupid example that creates a GPF sometimes
tf000002.pp tests that use of a type as a member of an expression is not possible

to000000.pp shows when uncertain optimizations can cause wrong code

testcrt.pp test crt unit functions
testdos.pp test dos unit functions
testset.pp test set functions
testheap.pp test heap functions
teststr.pp test string functions and speed
testaoc.pp test Array of construct.
testansi.pp test ansistrings
testrtti.pp test RTTI generation and typinfo unit.
testexc.pp test exceptions.
testi642.pp test int64/qword
testpvar.pp test procedure variables
testgoto.pp test goto (very simple)