fpc/tests/test
paul 790f6b0a4b compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax
rtl: fix fgl to use the new syntax
tests: fix generics tests to use the new syntax

git-svn-id: trunk@15646 -
2010-07-27 00:59:32 +00:00
..
alglib + initial tests based on ALGLIB submitted by Sergey Bochkanov 2009-12-10 22:25:34 +00:00
cg * recompiled versions from the latest source 2010-06-04 22:50:06 +00:00
opt * rewrote node cse, needs still testing and bug fixing 2010-01-10 13:38:58 +00:00
packages - removed svn:executable property 2010-06-21 15:11:40 +00:00
units * add test for web bug #16651 2010-06-19 16:27:03 +00:00
dumpclass.pp
dumpmethods.pp
README.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00
t4cc1.pp
t4cc2.pp
tabstract1.pp * merged sealed and abstract support by Paul Ishenin 2009-10-18 20:05:29 +00:00
tabstrcl.pp
tabsvr1.pp + Support for debug info for absolute variables when using dwarf2. 2009-03-13 21:16:06 +00:00
tabsvr2.pp + Support for debug info for absolute variables when using dwarf2. 2009-03-13 21:16:06 +00:00
tabsvr3.pp + Support for debug info for absolute variables when using dwarf2. 2009-03-13 21:16:06 +00:00
tabsvr4.pp + Support for debug info for absolute variables when using dwarf2. 2009-03-13 21:16:06 +00:00
tabsvr5.pp + Support for debug info for absolute variables when using dwarf2. 2009-03-13 21:16:06 +00:00
taddstr1.pp
talign1.pp
talign2.pp + added cwstring unit for unix 2007-06-16 09:13:01 +00:00
talign.pp + support for single character message names (patch by Dmitry Boyarintsev, 2009-09-28 09:43:34 +00:00
targ1a.pp + NEEDEDAFTER to avoid deleting created files if needed for another test 2009-12-11 19:27:14 +00:00
targ1b.pp * Do not assume '.' is in path for Unix 2009-11-19 13:55:44 +00:00
tarray1.pp
tarray2.pp
tarray3.pp * test the (previously) working parts of this test 2007-03-17 22:00:18 +00:00
tarray4.pp
tarray5.pp
tarray6.pp
tarray7.pp + Test for open arrays. 2007-03-25 15:30:07 +00:00
tasmread.pp * fixed tests now that i386 assembler code is checked for correct PIC 2007-12-01 14:34:50 +00:00
tasout.pp
tassignmentoperator1.pp fix test (should fail) 2009-11-01 15:59:22 +00:00
tbopr.pp + brotl, brotr and bnot functions for macpas mode + tests 2007-03-16 16:01:26 +00:00
tbrtlevt.pp * On windows event can not be "abandoned". Skip this part of the test. 2008-04-12 14:44:55 +00:00
tcase0.pp * cleanup of case <string> of code by Sergei Gorelkin, resolves #13700 2009-12-23 19:27:50 +00:00
tcase1.pp
tcase2.pp
tcase3.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase4.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase5.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase6.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase7.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase8.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase9.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase10.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase11.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase12.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase13.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase14.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase15.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase16.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase17.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase18.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase19.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase20.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase21.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase22.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase23.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase24.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase25.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase26.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase27.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase28.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase29.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase30.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase31.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase32.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase33.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase34.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase35.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase36.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase37.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase38.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase39.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase40.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase41.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase42.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase43.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase44.pp o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
tcase45_2.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase45.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase46_2.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase46.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase47_2.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase47.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase48_2.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcase48.pp o patch by Michael V. Denisenko to handle case <string> of (see also #13700) 2009-09-03 20:21:30 +00:00
tcg1.pp * fixed tests now that i386 assembler code is checked for correct PIC 2007-12-01 14:34:50 +00:00
tcint64.pp
tclass1.pp
tclass2.pp
tclass3.pp
tclass4.pp * formatting fixes of requirements 2008-11-03 20:08:02 +00:00
tclass5.pp
tclass6.pp
tclass7.pp
tclass8.pp
tclass9.pp compiler: allow class to have local type sections + tests 2010-01-11 02:35:10 +00:00
tclass10.pp compiler: allow class to have local type sections + tests 2010-01-11 02:35:10 +00:00
tclass10a.pp tests: class sections test by Martin 2010-07-23 09:00:00 +00:00
tclass11a.pp compiler: types in classes: 2010-01-11 06:22:57 +00:00
tclass11b.pp compiler: types in classes: 2010-01-11 06:22:57 +00:00
tclass12a.pp compiler: implement class constants + tests 2010-01-11 08:43:10 +00:00
tclass12b.pp compiler: implement class constants + tests 2010-01-11 08:43:10 +00:00
tclass12c.pp compiler: fix internal class symbol search for function result + test 2010-01-11 11:09:12 +00:00
tclass12d.pp compiler: fix parsing and handling of typed constants declared inside classes/objects + tests 2010-03-30 07:09:44 +00:00
tclass13.pp compiler: nested class types: 2010-01-11 19:44:02 +00:00
tclass14a.pp tests: add fail test for class properties 2010-01-14 15:04:45 +00:00
tclass14b.pp compiler: don't allow to publish class properties + test 2010-01-14 15:21:13 +00:00
tclassinfo1.pp compiler: don't write zero ClassInfo pointer even if class does not have published methods rtti (issue #14930) 2009-11-01 16:01:23 +00:00
tclrprop.pp
tcmp0.pp * fixed test (comparechar0 is defined as returning values <, =, > 0, not 2007-11-12 21:25:27 +00:00
tcmp.pp * Test negative return values from compare functions. 2007-11-02 20:39:26 +00:00
tcstring1.pp * support string constants > 255 chars 2010-01-24 09:28:46 +00:00
tcstring2.pp * support string constants > 255 chars 2010-01-24 09:28:46 +00:00
tdel1.pp * added new testset for interfaces and delegation, also GetInterface, GetInterfaceWeak, GetInterfaceByStr, AS and IS is tested 2010-03-28 00:44:20 +00:00
tdel2.pp * added test for new IS operator 2010-06-13 22:05:02 +00:00
tdispinterface1a.pp test: extend dispinterface test for win64 and wince (2 of 3) 2010-01-20 07:26:40 +00:00
tdispinterface1b.pp test: extend dispinterface test for win64 and wince (2 of 3) 2010-01-20 07:26:40 +00:00
tdispinterface2.pp tests: fix test crash 2010-01-24 13:15:35 +00:00
tendian1.pp
tenum1.pp
tenum2.pp * fixed typos 2006-12-29 17:48:36 +00:00
tenum3.pp compiler: 2010-03-25 05:46:53 +00:00
tenum4.pp compiler: 2010-03-25 05:46:53 +00:00
tenum5.pp compiler: 2010-03-25 05:46:53 +00:00
tenumerators1.pp * fixed extended syntax checking {$x-} by moving it from the typecheck pass 2010-03-27 12:51:27 +00:00
testcmem.pp
testda1.pp
testfpuc.pp
testmovd.pp
tests.pp
testsse2.pp * fixed tests now that i386 assembler code is checked for correct PIC 2007-12-01 14:34:50 +00:00
testv1.pp
testv2.pp
testv3.pp
testv4.pp
testv5.pp * adapt test to $R+ 2007-02-17 23:57:44 +00:00
testv6.pp
testv7.pp
testv8.pp
testv9.pp
testv10.pp
texception1.pp
texception2.pp
texception3.pp
texception4.pp
texception5.pp
texception6.pp
texception7.pp
texception8.pp
texception9.pp
texception10.pp
textthr.pp * %os -> %target 2010-07-13 11:28:47 +00:00
tfillchr.pp
tfinal1.pp + final modifier support for methods by Paul Ishenin 2009-10-24 11:48:52 +00:00
tfinal2.pp + final modifier support for methods by Paul Ishenin 2009-10-24 11:48:52 +00:00
tforin1.pp merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
tforin2.pp merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
tforin3.pp merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
tforin4.pp merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
tforin5.pp merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
tforin6.pp merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
tforin7.pp merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
tforin8.pp * fixed 64 bit compilation 2009-11-03 14:05:02 +00:00
tforin9.pp merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
tforin10.pp compiler: 2009-11-04 12:07:42 +00:00
tforin11.pp compiler: 2009-11-04 12:07:42 +00:00
tforin12.pp compiler: 2009-11-04 12:07:42 +00:00
tforin13.pp compiler: 2009-11-04 12:07:42 +00:00
tforin14.pp compiler: 2009-11-04 12:07:42 +00:00
tforin15.pp compiler: 2009-11-04 12:07:42 +00:00
tforin16.pp compiler: 2009-11-04 12:07:42 +00:00
tforin17.pp compiler: 2009-11-04 12:07:42 +00:00
tforin18.pp compiler: 2009-11-04 12:25:01 +00:00
tforin19.pp compiler: 2009-11-04 12:25:01 +00:00
tforin20.pp compiler: don't allow for-in loop for the enums with jumps. test should fail. 2009-11-05 15:37:07 +00:00
tforin21.pp compiler: 2009-11-04 12:59:05 +00:00
tforin22.pp compiler: 2009-11-04 13:21:10 +00:00
tforin23.pp compiler: allow enumeration of multidimensional arrays with implicit array conversion + test 2009-11-07 06:21:07 +00:00
tfpu1.pp
tfpu2.pp
tfpu3.pp * fixed tests now that i386 assembler code is checked for correct PIC 2007-12-01 14:34:50 +00:00
tfpu4.pp * fixed tests now that i386 assembler code is checked for correct PIC 2007-12-01 14:34:50 +00:00
tfpu5.pp * fixed tests now that i386 assembler code is checked for correct PIC 2007-12-01 14:34:50 +00:00
tfpuover.pp * fixed assembling of sse instructions on x86-64 with regs > xmm7 2007-03-04 19:16:20 +00:00
tfwork1.pp + support for {$linkframework x} to link to framework x (Darwin only) 2007-07-25 15:42:30 +00:00
tfwork2.pp * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
tgeneric1.pp * improved generics 2007-10-18 00:24:05 +00:00
tgeneric2.pp
tgeneric3.pp
tgeneric4.pp * improved generics 2007-10-18 00:24:05 +00:00
tgeneric5.pp
tgeneric6.pp
tgeneric7.pp * improved generics 2007-10-18 00:24:05 +00:00
tgeneric8.pp
tgeneric9.pp
tgeneric10.pp * improved generics 2007-10-18 00:24:05 +00:00
tgeneric11.pp compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax 2010-07-27 00:59:32 +00:00
tgeneric12.pp + test procedure override in generic classes 2006-11-19 15:59:43 +00:00
tgeneric13.pp * only non generic types can be used when specializing generics, fixes 7735 2006-12-30 21:51:24 +00:00
tgeneric14.pp * improved generics 2007-10-18 00:24:05 +00:00
tgeneric15.pp * generic inheritance tests 2007-09-09 13:12:26 +00:00
tgeneric16.pp * generic inheritance tests 2007-09-09 13:12:26 +00:00
tgeneric17.pp fixed test 2010-01-11 11:39:25 +00:00
tgeneric18.pp compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax 2010-07-27 00:59:32 +00:00
tgeneric19.pp * allow writeln/readln on generic type parameters 2010-01-17 15:58:46 +00:00
tgeneric20.pp * allow writeln/readln on generic type parameters 2010-01-17 15:58:46 +00:00
tgoto.pp
theap.pp
theapthread.pp + implement timeout wrapper call for testsuite (remote only) 2007-10-21 09:18:19 +00:00
thintdir.pp * moved mode switch to correct location 2010-01-23 10:30:30 +00:00
timplements1.pp * fixed implements for interfaces 2008-03-01 20:20:49 +00:00
timplements2.pp * fixed implements for interfaces 2008-03-01 20:20:49 +00:00
timplements3.pp * fixed implements for interfaces 2008-03-01 20:20:49 +00:00
timplements4.pp + first test for implements through classes 2008-03-01 20:35:09 +00:00
timplements4a.pp + more implements tests 2008-03-01 20:41:28 +00:00
timplements4b.pp + more implements tests 2008-03-01 20:41:28 +00:00
timplements7.pp * tiny change: nil i1,i2 by hand so that everything is freed before the "ok". 2010-03-28 10:10:33 +00:00
timplprog.pp
tindex.pp - reverted r8826, the original unaligned() code was correct 2007-10-17 12:36:15 +00:00
tinivar.pp
tinlin64.pp
tinline1.pp
tinline2.pp
tinline3.pp
tinline4.pp
tinline5.pp
tinline6.pp
tinline7.pp + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
tinline8.pp * fixed calling inline functions (with exit statements) from inside 2007-07-20 16:49:35 +00:00
tinline9.pp * disabled inlining when passing a refcounted parameter typecasted to 2007-09-07 10:40:26 +00:00
tinline10.pp * safeguard the nf_block_with_exit flag when simplifying blockn and 2007-11-04 18:33:07 +00:00
tint2str1.pp
tint2str2.pp
tint641.pp
tint642.pp * Prevent multiply between qword and longint. 2007-06-24 19:31:32 +00:00
tint643.pp
tint644.pp + new test for overflow checking qword multiplication with high(qword) 2007-12-23 21:18:59 +00:00
tinterface1.pp
tinterface2.pp * increase/decrease refcount of interface value parameters on procedure 2008-03-01 10:25:27 +00:00
tinterface3.pp
tinterface4.pp
tinterface5.pp * fixed assigning an interface to a property after better property 2007-05-27 10:25:46 +00:00
tinterface6.pp * added new test for interface to tguid or shortstring constants 2009-02-06 12:08:48 +00:00
tinterrupt.pp
tintfdef.pp
tintuint.pp
tlib1a.pp * finally it works on linux also from the testsuite script 2008-05-18 20:13:53 +00:00
tlib1b.pp * fixed wrong naming 2008-05-22 11:08:14 +00:00
tlibrary1.pp * set moduleislib to true for libraries. Differences with islibrary: 2010-02-10 16:10:23 +00:00
tlibrary2.pp * set moduleislib to true for libraries. Differences with islibrary: 2010-02-10 16:10:23 +00:00
tlibrary3.pp + PIC support for darwin/ppc64 2007-10-20 20:14:45 +00:00
tmacbool.pp
tmacfunret.pp
tmaclocalprocparam.pp
tmacnonlocalexit.pp
tmacnonlocalgoto.pp
tmacpas1.pp
tmacpas2.pp
tmacpas3.pp
tmacpas4.pp
tmacpas5.pp * fixed comparisons of orddefs with fourcharcodes in macpas mode + test 2007-10-31 15:11:13 +00:00
tmacprocvar.pp
tmainnam.pp * delay verbosity changes just like localswitches changes 2008-11-03 21:18:27 +00:00
tmath1.pp
tmcbool2.pp
tmmx1.pp
tmove.pp + add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone) 2008-03-02 12:59:02 +00:00
tmsg1.pp + -vq parameter to show message numbers 2008-10-12 12:19:41 +00:00
tmsg2.pp + -vq parameter to show message numbers 2008-10-12 12:19:41 +00:00
tmsg3.pp + -vq parameter to show message numbers 2008-10-12 12:19:41 +00:00
tmsg4.pp + -vq parameter to show message numbers 2008-10-12 12:19:41 +00:00
tmt1.pp - removed obsolete {$threading on} directive 2007-08-11 20:58:20 +00:00
tnoext1.pp * fixed extended syntax checking {$x-} by moving it from the typecheck pass 2010-03-27 12:51:27 +00:00
tnoext2.pp * fixed extended syntax checking {$x-} by moving it from the typecheck pass 2010-03-27 12:51:27 +00:00
tnoext3.pp * fixed compilation on 64 bit platforms 2010-03-28 10:44:34 +00:00
tnoext4.pp * fixed extended syntax checking {$x-} by moving it from the typecheck pass 2010-03-27 12:51:27 +00:00
tobjc1.pp * added header 2009-11-20 18:38:42 +00:00
tobjc2.pp * added header 2009-11-20 18:38:42 +00:00
tobjc3.pp * added header 2009-11-20 18:38:42 +00:00
tobjc4.pp * added header 2009-11-20 18:38:42 +00:00
tobjc4a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc5.pp * added header 2009-11-20 18:38:42 +00:00
tobjc5a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc6.pp * added header 2009-11-20 18:38:42 +00:00
tobjc7.pp * added header 2009-11-20 18:38:42 +00:00
tobjc7a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc7b.pp * added header 2009-11-20 18:38:42 +00:00
tobjc7c.pp * added header 2009-11-20 18:38:42 +00:00
tobjc8.pp * added header 2009-11-20 18:38:42 +00:00
tobjc8a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc9.pp * added header 2009-11-20 18:38:42 +00:00
tobjc9a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc9b.pp * added header 2009-11-20 18:38:42 +00:00
tobjc10.pp * added header 2009-11-20 18:38:42 +00:00
tobjc11.pp * allow any kind of fields in Object Pascal classes that are passed to 2010-01-31 21:13:41 +00:00
tobjc12.pp * added header 2009-11-20 18:38:42 +00:00
tobjc13.pp * added header 2009-11-20 18:38:42 +00:00
tobjc13a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc13b.pp * added header 2009-11-20 18:38:42 +00:00
tobjc14.pp * added header 2009-11-20 18:38:42 +00:00
tobjc15.pp * added header 2009-11-20 18:38:42 +00:00
tobjc16.pp * added header 2009-11-20 18:38:42 +00:00
tobjc17.pp * added header 2009-11-20 18:38:42 +00:00
tobjc18.pp * added header 2009-11-20 18:38:42 +00:00
tobjc19.pp * added header 2009-11-20 18:38:42 +00:00
tobjc20.pp * added header 2009-11-20 18:38:42 +00:00
tobjc21.pp * added header 2009-11-20 18:38:42 +00:00
tobjc22.pp * added header 2009-11-20 18:38:42 +00:00
tobjc22a.pp * fixed assigning "id" to a protocol instance and using protocol instances 2010-06-19 16:19:13 +00:00
tobjc22b.pp * put the RTTI for optional protocol methods in the correct section for 2010-06-21 15:07:29 +00:00
tobjc23.pp * added header 2009-11-20 18:38:42 +00:00
tobjc24.pp * added header 2009-11-20 18:38:42 +00:00
tobjc25.pp * added header 2009-11-20 18:38:42 +00:00
tobjc26.pp * added header 2009-11-20 18:38:42 +00:00
tobjc26a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc27a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc27b.pp * added header 2009-11-20 18:38:42 +00:00
tobjc28.pp * added header 2009-11-20 18:38:42 +00:00
tobjc29.pp * added header 2009-11-20 18:38:42 +00:00
tobjc29a.pp * added header 2009-11-20 18:38:42 +00:00
tobjc29b.pp * added header 2009-11-20 18:38:42 +00:00
tobjc30.pp + support for id.anyobjcmethodinscope() calls for Objective-Pascal code, 2009-11-21 00:14:21 +00:00
tobjc30a.pp + support for id.anyobjcmethodinscope() calls for Objective-Pascal code, 2009-11-21 00:14:21 +00:00
tobjc30b.pp + support for id.anyobjcmethodinscope() calls for Objective-Pascal code, 2009-11-21 00:14:21 +00:00
tobjc30c.pp + support for id.anyobjcmethodinscope() calls for Objective-Pascal code, 2009-11-21 00:14:21 +00:00
tobjc31.pp - removed unnecessary usage of MacOSAll and CocoaAll 2010-06-26 10:34:45 +00:00
tobjc32.pp * allow any kind of fields in Object Pascal classes that are passed to 2010-01-31 21:13:41 +00:00
tobjc32a.pp * allow any kind of fields in Object Pascal classes that are passed to 2010-01-31 21:13:41 +00:00
tobjc32b.pp * allow any kind of fields in Object Pascal classes that are passed to 2010-01-31 21:13:41 +00:00
tobjc34.pp + some extra (already working) tests for class references 2010-06-21 15:19:02 +00:00
tobjc34a.pp + some extra (already working) tests for class references 2010-06-21 15:19:02 +00:00
tobjc35a.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
tobjc35b.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
tobjc35c.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
tobjc35d.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
tobjc35f.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
tobjc35g.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
tobjc35h.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
tobjcl1.pp * added header 2009-11-20 18:38:42 +00:00
tobjcl2.pp * added header 2009-11-20 18:38:42 +00:00
tobjcl3.pp * added header 2009-11-20 18:38:42 +00:00
tobjcl4.pp * added header 2009-11-20 18:38:42 +00:00
tobject1.pp
tobject2.pp
tobject3.pp
tobject4.pp
tobject5.pp tests: fix test name 2010-03-30 02:55:07 +00:00
tobject6.pp compiler: allow const, type, var and class var sections for objects + test 2010-03-30 04:22:19 +00:00
tobject7.pp compiler: fix parsing and handling of typed constants declared inside classes/objects + tests 2010-03-30 07:09:44 +00:00
toperator1.pp
toperator2.pp
toperator3.pp
toperator4.pp
toperator5.pp
toperator6.pp * added run time testing 2007-09-16 19:22:15 +00:00
toperator7.pp compiler: don't compile incorrect statements if operators are involved (issue #0015338) + test 2009-12-21 06:57:38 +00:00
tover1.pp
tover2.pp
tover3.pp * always demote type conversions which cannot represent part of the 2007-08-28 19:38:40 +00:00
tpackrec.pp
tparray1.pp
tparray2.pp
tparray3.pp
tparray4.pp
tparray5.pp
tparray6.pp
tparray7.pp * fixed tests for systems where the page size <> 4096 2009-03-02 16:10:07 +00:00
tparray8.pp
tparray9.pp
tparray10.pp
tparray11.pp
tparray12.pp
tparray13.pp * fixed tests for systems where the page size <> 4096 2009-03-02 16:10:07 +00:00
tparray14.pp + support for packed array constants 2007-02-20 21:53:46 +00:00
tparray15.pp + support for bitpacked record constants 2007-02-24 17:39:06 +00:00
tparray16.pp + support for bitpacked record constants 2007-02-24 17:39:06 +00:00
tparray17.pp + support for bitpacked record constants 2007-02-24 17:39:06 +00:00
tparray18.pp * test now fails under FPC 2007-05-20 08:54:10 +00:00
tparray19.pp + support for bitpacking types with a negative lower bound 2007-02-28 17:42:41 +00:00
tparray20.pp * added packrecords statement so the test compiles on all systems regardless 2007-06-09 17:05:35 +00:00
tparray21.pp * fixed another IE with indexing bitpacked arrays of composite types, 2007-06-08 13:53:01 +00:00
tparray22.pp * don't allow taking the address of ordinal bitpacked array elements 2007-06-09 18:13:04 +00:00
tparray23.pp * don't allow taking the address of ordinal bitpacked array elements 2007-06-09 18:13:04 +00:00
tparray24.pp * don't allow taking the address of ordinal bitpacked array elements 2007-06-09 18:13:04 +00:00
tparray25.pp * don't allow taking the address of ordinal bitpacked array elements 2007-06-09 18:13:04 +00:00
tparray26.pp * fixed compiler crash when using a bitpacked array whose size was 2009-06-06 12:33:18 +00:00
tpftch1.pp
tpoll.pp + add poll support for unix 2008-11-16 17:05:47 +00:00
tprec1.pp
tprec2.pp
tprec3.pp
tprec4.pp
tprec5.pp
tprec6.pp
tprec7.pp
tprec8.pp * 12345678901234567890>high(int64), therefore int64var=12345678901234567890 always 2007-06-12 22:20:24 +00:00
tprec9.pp
tprec10.pp
tprec11.pp + support for bitpacked record constants 2007-02-24 17:39:06 +00:00
tprec12.pp + support for bitpacked record constants 2007-02-24 17:39:06 +00:00
tprec13.pp + support for bitpacked record constants 2007-02-24 17:39:06 +00:00
tprec14.pp * don't change a sequence of shifts and sub/adds into a lea() in case 2007-05-14 20:37:42 +00:00
tprec15.pp * allow taking the address of fields of packed records iff 2007-06-09 17:52:20 +00:00
tprec16.pp * allow taking the address of fields of packed records iff 2007-06-09 17:52:20 +00:00
tprec17.pp * allow taking the address of fields of packed records iff 2007-06-09 17:52:20 +00:00
tprec18.pp * allow taking the address of fields of packed records iff 2007-06-09 17:52:20 +00:00
tprec19.pp * don't allow taking the address of ordinal bitpacked array elements 2007-06-09 18:13:04 +00:00
tprec20.pp * don't allow taking the address of ordinal bitpacked array elements 2007-06-09 18:13:04 +00:00
tprec21.pp * fixed bug in typed constant record parsing with variant records 2007-10-26 18:22:30 +00:00
tprec22.pp * fixed setting bitpacked record fields straddling their natural boundaries 2008-06-18 16:31:39 +00:00
tprec23.pp * fixed typo in diagnostic output 2008-06-19 09:37:13 +00:00
tprec24.pp * we have to be able to take the address of an "absolute" variable 2009-03-12 20:12:14 +00:00
tprocext.pp
tprocvar1.pp
tprocvar2.pp
tprocvar3.pp
tprop1.pp
tprop2.pp
tprop.pp * fixed dynarr_property:=nil + test 2007-05-28 13:48:32 +00:00
trange1.pp
trange2.pp
trange3.pp
trange4.pp
trange5.pp
trangeob.pp
trecreg2.pp
trecreg3.pp
trecreg4.pp * forgot to commit 2007-03-02 08:57:21 +00:00
trecreg.pp
tresstr.pp
trox1.pp * renamed rol/ror functions into rolbyte/rolword/roldword/rolqword 2009-01-28 12:56:27 +00:00
trox2.pp * renamed rol/ror functions into rolbyte/rolword/roldword/rolqword 2009-01-28 12:56:27 +00:00
trstr1.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
trstr2.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
trstr3.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
trstr4.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
trstr5.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
trstr6.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
trstr7.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
trstr8.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
trtti1.pp Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
trtti2.pp
trtti3.pp
trtti4.pp
trtti5.pp
tsafecall1.pp compiler,rtl - safecall handling: 2010-02-27 04:41:52 +00:00
tsealed1.pp * merged sealed and abstract support by Paul Ishenin 2009-10-18 20:05:29 +00:00
tsealed2.pp * merged sealed and abstract support by Paul Ishenin 2009-10-18 20:05:29 +00:00
tsealed3.pp * merged sealed and abstract support by Paul Ishenin 2009-10-18 20:05:29 +00:00
tsealed4.pp * merged sealed and abstract support by Paul Ishenin 2009-10-18 20:05:29 +00:00
tsealed5.pp compiler: support *sealed* and *abstract* for objects (issue #0016174) 2010-04-01 14:36:33 +00:00
tsealed6.pp compiler: support *sealed* and *abstract* for objects (issue #0016174) 2010-04-01 14:36:33 +00:00
tsel1.pp * renamed selector() to objcselector() for consistency with the way all 2009-07-26 14:06:34 +00:00
tsel2.pp * renamed selector() to objcselector() for consistency with the way all 2009-07-26 14:06:34 +00:00
tset1.pp
tset2.pp
tset2a.pp + support for extra packing of sets whose lower element number 2007-09-16 20:04:45 +00:00
tset2b.pp + support for extra packing of sets whose lower element number 2007-09-16 20:04:45 +00:00
tset2c.pp + support for extra packing of sets whose lower element number 2007-09-16 20:04:45 +00:00
tset2d.pp + support for extra packing of sets whose lower element number 2007-09-16 20:04:45 +00:00
tset3.pp + support for sets with size 1 and 2 2007-01-24 20:06:56 +00:00
tset4.pp * fixed mode switch (objpas -> objfpc) 2007-05-17 13:36:00 +00:00
tset5.pp + new test for varsets and conversion among varsets 2007-01-27 20:29:06 +00:00
tset5a.pp * variant of tset5a which shows an error without -Or 2007-02-20 16:28:28 +00:00
tset6.pp * big set test 2007-03-18 10:34:18 +00:00
tset7.pp * new internal set format for big endian systems. Advantages: 2007-05-19 17:15:15 +00:00
tsetsize.pp + support for extra packing of sets whose lower element number 2007-09-16 20:04:45 +00:00
tstack.pp
tstatic1.pp compiler: allow inline static methods + test (moreover static inline was supported) 2010-03-27 13:40:36 +00:00
tstatic2.pp compiler: implement 'var' and 'class var' sections for classes + tests 2010-01-10 13:48:43 +00:00
tstatic3.pp compiler: implement 'var' and 'class var' sections for classes + tests 2010-01-10 13:48:43 +00:00
tstatic4.pp compiler: 2010-01-09 18:37:54 +00:00
tstatic5.pp tests: more tests for classes 2010-01-11 10:07:14 +00:00
tstprocv.pp
tstring1.pp
tstring2.pp
tstring3.pp
tstring4.pp
tstring5.pp
tstring6.pp
tstring7.pp
tstring8.pp
tstring9.pp * fix for (w)chararray to ansi/widestring conversions after 2008-01-27 22:06:07 +00:00
tstring10.pp Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
tstrreal1.pp
tstrreal2.pp
tstrreal3.pp * fixed str(extended(0.005):0:2) and related problems 2007-07-05 15:25:01 +00:00
tsubdecl.pp
tsymlibrary1.pp -- Zusammenführen von r13892 in ».«: 2009-10-25 08:58:22 +00:00
ttpara1.pp * made test names unique (if you overwrite an existing binary with another 2009-12-04 21:06:33 +00:00
ttpara2.pp * made test names unique (if you overwrite an existing binary with another 2009-12-04 21:06:33 +00:00
ttypedarray1.pp * give a better error message and do better error recovery if too few typed constant array elements are provided 2010-01-17 13:04:17 +00:00
ttypedrecord1.pp * support record fields separated by commas instead of semicolons in typed 2010-02-14 14:33:30 +00:00
ttypedrecord2.pp * support record fields separated by commas instead of semicolons in typed 2010-02-14 14:33:30 +00:00
ttypedrecord3.pp * support record fields separated by commas instead of semicolons in typed 2010-02-14 14:33:30 +00:00
ttypedrecord4.pp * support record fields separated by commas instead of semicolons in typed 2010-02-14 14:33:30 +00:00
tunaligned1.pp
tunistr1.pp Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
tunistr2.pp Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
tunistr4.pp Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
tunistr5.pp Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
tunistr6.pp Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
tunistr7.pp Merged revisions 11665-11738 via svnmerge from 2008-09-10 20:14:31 +00:00
tunit1.pp
tunit2.pp
tunit3.pp
tunroll1.pp * fixed command line parameter (-Nu -> -Ooloopunroll) 2009-07-24 07:50:47 +00:00
tutf81.pp
tutf82.pp
tvarpropsetter1.pp compiler: implement {$VARPROPSETTER ON/OFF} support which is required for COM (D7 compatibility): 2010-03-17 09:56:50 +00:00
tvarpropsetter2.pp compiler: implement {$VARPROPSETTER ON/OFF} support which is required for COM (D7 compatibility): 2010-03-17 09:56:50 +00:00
tvarset1.pp
tweaklib1.pp + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
tweaklib2.pp + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
tweaklib3.pp + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
tweaklib4.pp + "weakexternal" support for imported procedures and variables. 2008-11-01 18:38:32 +00:00
twide1.pp
twide2.pp
twide3.pp * diabled it for windows 2007-11-03 18:39:14 +00:00
twide4.pp * made cwstring thread safe without locks + test (twide4): widestring 2007-07-04 18:10:34 +00:00
twide5.pp * don't convert terminating #0 of UCS4Strings to widestring 2007-12-23 18:40:15 +00:00
twide6.pp * This test is not for wince. 2008-04-18 14:11:04 +00:00
twide7.pp + test for previous commit 2007-12-08 16:00:28 +00:00
twrstr1.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
twrstr2.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
twrstr3.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
twrstr4.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
twrstr5.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
twrstr6.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
twrstr7.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
twrstr8.pp + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
uabstrcl.pp
uenum2a.pp + using items of aliased enum type in other unit test 2006-12-02 11:30:59 +00:00
uenum2b.pp + using items of aliased enum type in other unit test 2006-12-02 11:30:59 +00:00
ugeneric3.pp
ugeneric4.pp
ugeneric7.pp * improved generics 2007-10-18 00:24:05 +00:00
ugeneric10.pp compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax 2010-07-27 00:59:32 +00:00
ugeneric14.pp + generics context sensitivity test 2007-03-29 19:45:42 +00:00
uhintdir.pp compiler: allow hint modifier for 'unit' keyword (reason - delphi compatibility) + test 2010-01-22 07:15:09 +00:00
uimpluni1.pp
uimpluni2.pp
uinline4a.pp
uinline4b.pp
umacpas1.pp
umainnam.pp + support for setting the name of "main" (-XM command line parameter) in 2008-03-01 13:05:01 +00:00
uobjc7.pp * added header 2009-11-20 18:38:42 +00:00
uobjc24.pp * added header 2009-11-20 18:38:42 +00:00
uobjc26.pp * added header 2009-11-20 18:38:42 +00:00
uobjc27a.pp * added header 2009-11-20 18:38:42 +00:00
uobjc27b.pp * added header 2009-11-20 18:38:42 +00:00
uobjc30c.pp + support for id.anyobjcmethodinscope() calls for Objective-Pascal code, 2009-11-21 00:14:21 +00:00
uobjc35d.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
uobjc35e.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
uobjc35f.pp + support for formally declared objcclasses ("type x=objcclass;external;") 2010-06-25 15:08:37 +00:00
uobjcl1.pp * added header 2009-11-20 18:38:42 +00:00
uprec6.pp
uprec7.pp * fixed syntax errors 2007-02-24 17:28:14 +00:00
uprocext1.pp
uprocext2.pp
utasout.pp
uunit1.pp
uunit2a.pp
uunit2b.pp
uunit3a.pp
uunit3b.pp
uunit3c.pp

This directory contains tests for several parts of the compiler and RTL


--------------------------------------------------------------------
                      Code generator
--------------------------------------------------------------------
These tests should be considered unitary, as they only verify
simple cases of the code generator. Used for porting to other
architectures. Tries to validate all possible Location types
valid for that node. They are based on tests on these
reference platforms:
  Borland Pascal v7.01
  Delphi 3.0
  Delphi 4.0
  Delphi 6.0 Personal Edition

'Natural type' is a signed 32-bit value on 32-bit architectures.
'Natural type' is a signed 64-bit value on 64-bit architectures.


--------------------------------------------------------------------
                        Compiler
--------------------------------------------------------------------


Shortstrings .......... tstring1.pp    compatibility and speed of shortstrings
                        tstring2.pp    some misc. tests mainly collected
                                       from bug reports
                        tstring3.pp    Typed Constant string loading from
                                       other constants
                        tstring4.pp    Ansistring #1
                        tstring5.pp    Ansistring #2
Classes ............... tclass1.pp     AfterConstruction
                        tclass2.pp     BeforeDestruction
Objects ............... tobject1.pp    Fail in constructor
Exceptions ............ texception1.pp
                        texception2.pp
                        texception3.pp
			texception4.pp Math exceptions
Procedure Variable .... tprocvar1.pp
                        tprocvar2.pp
Libraries ............. testlib.pp     a very primitive test
Parameter passing ..... tpara1.pp      Out Parameter

Units ................. testu1.pp      tests init. & finalization and halt
                        testu2.pp      in finalization
                        testu3.pp      a type redefining problem
                        testu4.pp
                        testu5.pp
case .................. tcase1.pp      tests case statements with byte and word
                                       sized decision variables
                        tcase2.pp      tests case with sub enum types
Arrays ................ tarray1.pp     open arrays with classes
                        tarray2.pp     Array of const
			tarray3.pp     Array of Char #1 (Known bug)
			tarray4.pp     Array of Char #2 (Known bug)
Enumerations .......... tenum1.pp      tests assignments of subrange
                                       enumerations
Codegenerration ....... tcg1.pp        i386 pushw
                        tcg2.pp        saveregisters
                        tinivar.pp     initial values for local variables (1.1)
Inline ................ tinline1.pp    tests recursive inlining, inlining
                                       a procedure multiple times and
                                       inlining procedures in other
                                       inline procedures.
			tinlin64.pp    tests for a problem in pushing 64bit parameters
				       by value.	
TypeInfo .............. trtti2.pp      test the function system.typeinfo
                        trtti3.pp      tests the procedure system.finalize
Resourcestrings ....... tresstr.pp     tests a simple resource string
Range checking ........ trange1.pp     range checking when converting int64/
                                       qword to longint/cardinal
                        trange2.pp     range checking when converting
                                       between longint and cardinal
                        trange3.pp     range checking for array
                        trange4.pp     range checking when assigning
                                       values to int64/qword
Floating Point ........ tfpu1.pp
                        tfpu2.pp
Assembler readers...... tasmread.pp    tests for support of unit or program specifier
                        testmovd.pp    testspecial issues about MOVD instruction
Variants............... tvariant.pp    tests the variant support of FPC
                        tasout.pp      tests a problem if a unit is compiled with nasm

--------------------------------------------------------------------
                            RTL
--------------------------------------------------------------------

SYSTEM
------
str/write(real_type) .. tstrreal1.pp   test correct rounding
                        tstrreal2.pp   test correct writing of 10 till 1e-24
Heap .................. theap.pp       Heap manager test
input/output .......... /units/system/tiorte.pp   tests inoutres values of invalid operations
Random ................ /units/system/trandom.pp  tests random (interactive)

DOS
---
General .............. /units/dos/tdos.pp         (interactive)
General .............. /units/dos/testdos.pas     (interactive)
FExpand .............. /units/dos/tfexpand.pp

CRT
---
General .............. /units/crt/tcrt.pp          tests most crt unit functions (interactive)