1
This directory contains tests for several parts of the compiler and RTL
4
--------------------------------------------------------------------
6
--------------------------------------------------------------------
7
These tests should be considered unitary, as they only verify
8
simple cases of the code generator. Used for porting to other
9
architectures. Tries to validate all possible Location types
10
valid for that node. They are based on tests on these
15
Delphi 6.0 Personal Edition
17
'Natural type' is a signed 32-bit value on 32-bit architectures.
18
'Natural type' is a signed 64-bit value on 64-bit architectures.
21
--------------------------------------------------------------------
23
--------------------------------------------------------------------
26
Shortstrings .......... tstring1.pp compatibility and speed of shortstrings
27
tstring2.pp some misc. tests mainly collected
29
tstring3.pp Typed Constant string loading from
31
tstring4.pp Ansistring #1
32
tstring5.pp Ansistring #2
33
Classes ............... tclass1.pp AfterConstruction
34
tclass2.pp BeforeDestruction
35
Objects ............... tobject1.pp Fail in constructor
36
Exceptions ............ texception1.pp
39
texception4.pp Math exceptions
40
Procedure Variable .... tprocvar1.pp
42
Libraries ............. testlib.pp a very primitive test
43
Parameter passing ..... tpara1.pp Out Parameter
45
Units ................. testu1.pp tests init. & finalization and halt
46
testu2.pp in finalization
47
testu3.pp a type redefining problem
50
case .................. tcase1.pp tests case statements with byte and word
51
sized decision variables
52
tcase2.pp tests case with sub enum types
53
Arrays ................ tarray1.pp open arrays with classes
54
tarray2.pp Array of const
55
tarray3.pp Array of Char #1 (Known bug)
56
tarray4.pp Array of Char #2 (Known bug)
57
Enumerations .......... tenum1.pp tests assignments of subrange
59
Codegenerration ....... tcg1.pp i386 pushw
61
tinivar.pp initial values for local variables (1.1)
62
Inline ................ tinline1.pp tests recursive inlining, inlining
63
a procedure multiple times and
64
inlining procedures in other
66
tinlin64.pp tests for a problem in pushing 64bit parameters
68
TypeInfo .............. trtti2.pp test the function system.typeinfo
69
trtti3.pp tests the procedure system.finalize
70
Resourcestrings ....... tresstr.pp tests a simple resource string
71
Range checking ........ trange1.pp range checking when converting int64/
72
qword to longint/cardinal
73
trange2.pp range checking when converting
74
between longint and cardinal
75
trange3.pp range checking for array
76
trange4.pp range checking when assigning
78
Floating Point ........ tfpu1.pp
80
Assembler readers...... tasmread.pp tests for support of unit or program specifier
81
testmovd.pp testspecial issues about MOVD instruction
82
Variants............... tvariant.pp tests the variant support of FPC
83
tasout.pp tests a problem if a unit is compiled with nasm
85
--------------------------------------------------------------------
87
--------------------------------------------------------------------
91
str/write(real_type) .. tstrreal1.pp test correct rounding
92
tstrreal2.pp test correct writing of 10 till 1e-24
93
Heap .................. theap.pp Heap manager test
94
input/output .......... /units/system/tiorte.pp tests inoutres values of invalid operations
95
Random ................ /units/system/trandom.pp tests random (interactive)
99
General .............. /units/dos/tdos.pp (interactive)
100
General .............. /units/dos/testdos.pas (interactive)
101
FExpand .............. /units/dos/tfexpand.pp
105
General .............. /units/crt/tcrt.pp tests most crt unit functions (interactive)