~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/tests/test/README

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This directory contains tests for several parts of the compiler and RTL
 
2
 
 
3
 
 
4
--------------------------------------------------------------------
 
5
                      Code generator
 
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
 
11
reference platforms:
 
12
  Borland Pascal v7.01
 
13
  Delphi 3.0
 
14
  Delphi 4.0
 
15
  Delphi 6.0 Personal Edition
 
16
 
 
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.
 
19
 
 
20
 
 
21
--------------------------------------------------------------------
 
22
                        Compiler
 
23
--------------------------------------------------------------------
 
24
 
 
25
 
 
26
Shortstrings .......... tstring1.pp    compatibility and speed of shortstrings
 
27
                        tstring2.pp    some misc. tests mainly collected
 
28
                                       from bug reports
 
29
                        tstring3.pp    Typed Constant string loading from
 
30
                                       other constants
 
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
 
37
                        texception2.pp
 
38
                        texception3.pp
 
39
                        texception4.pp Math exceptions
 
40
Procedure Variable .... tprocvar1.pp
 
41
                        tprocvar2.pp
 
42
Libraries ............. testlib.pp     a very primitive test
 
43
Parameter passing ..... tpara1.pp      Out Parameter
 
44
 
 
45
Units ................. testu1.pp      tests init. & finalization and halt
 
46
                        testu2.pp      in finalization
 
47
                        testu3.pp      a type redefining problem
 
48
                        testu4.pp
 
49
                        testu5.pp
 
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
 
58
                                       enumerations
 
59
Codegenerration ....... tcg1.pp        i386 pushw
 
60
                        tcg2.pp        saveregisters
 
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
 
65
                                       inline procedures.
 
66
                        tinlin64.pp    tests for a problem in pushing 64bit parameters
 
67
                                       by value.        
 
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
 
77
                                       values to int64/qword
 
78
Floating Point ........ tfpu1.pp
 
79
                        tfpu2.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
 
84
 
 
85
--------------------------------------------------------------------
 
86
                            RTL
 
87
--------------------------------------------------------------------
 
88
 
 
89
SYSTEM
 
90
------
 
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)
 
96
 
 
97
DOS
 
98
---
 
99
General .............. /units/dos/tdos.pp         (interactive)
 
100
General .............. /units/dos/testdos.pas     (interactive)
 
101
FExpand .............. /units/dos/tfexpand.pp
 
102
 
 
103
CRT
 
104
---
 
105
General .............. /units/crt/tcrt.pp          tests most crt unit functions (interactive)