Commit Graph

3193 Commits

Author SHA1 Message Date
joost
9e2e350d08 * Updated script te create testsuite-database
git-svn-id: trunk@9921 -
2008-01-26 12:24:15 +00:00
Jonas Maebe
8349cde7db * changed byte/word/longbool to be Delphi-compatible (+ similar changes
for qwordbool) + test:
    o assigning true to such a variable now sets them to $ff/$ffff/$ffffffff
    o these types are now all signed
    o converting an integer type to a byte/word/long/qwordbool using an
      explicit type cast keeps the integer's original value stored in the
      bool, instead of forcing it to ord(true)/ord(false)
    (mantis #10233 and #10613, implemented for all architectures, testsuite
     tested for ppc32, sparc and x86)
  * fixed some places where the rtl depended on longbool(true) having the
    value 1
  * extended several boolean tests (and adapted some to no longer assume
    that byte/word/long/qwordbool(true)=1)
  + support for converting to qwordbool in second_int_to_bool for x86, ppc
    and sparc

git-svn-id: trunk@9898 -
2008-01-24 21:30:55 +00:00
joost
309106e9f1 * Only convert the classname in the filename of a unit-test to lowercase and not the whole path
git-svn-id: trunk@9896 -
2008-01-24 17:40:32 +00:00
joost
f83f7785ad * Add RelSrcDir setting with a default value of "tests", to specify in which directory the test-sources reside, relative to the TestSrcDir
git-svn-id: trunk@9886 -
2008-01-23 21:59:00 +00:00
yury
801837f60d * Fixed bug #10681.
+ Test.

git-svn-id: trunk@9879 -
2008-01-23 10:24:04 +00:00
Jonas Maebe
53be0147d4 * fixed assignments to integer regvars typecasted to a type
of equal size but with different signdness + test

git-svn-id: trunk@9871 -
2008-01-22 21:27:34 +00:00
joost
76636bad26 * The Category of a testrun is now stored into the database. The default is CategoryID is 1 for compatibility with digests without category
* Fixed procession of db-errors
 * Added support for adding new fpcunit-tests and parse the testunits

git-svn-id: trunk@9853 -
2008-01-21 16:17:12 +00:00
Jonas Maebe
5290a04e33 * forgot to commit (test for r9623)
git-svn-id: trunk@9821 -
2008-01-20 16:23:33 +00:00
florian
d88847dc14 * ignore -R when doing emulator based testing
git-svn-id: trunk@9735 -
2008-01-13 14:57:05 +00:00
florian
2d91fef4f1 + accept system.string, resolves #10489
git-svn-id: trunk@9727 -
2008-01-12 22:25:33 +00:00
Jonas Maebe
be2119b489 * simply discard overloaded routines which cannot accept a variant
when determining the optimal candidate for a single variant
    parameter, rather than giving an internal error (mantis #10623)

git-svn-id: trunk@9726 -
2008-01-12 19:01:49 +00:00
Jonas Maebe
284ebc9d4a - deleted since it has been renamed to n_body
git-svn-id: trunk@9691 -
2008-01-09 00:14:30 +00:00
Vincent Snijders
25f0653c88 * renamed nbody to n_body
git-svn-id: trunk@9677 -
2008-01-08 10:31:00 +00:00
Vincent Snijders
e5ddfc8248 + current version of nbody benchmark
git-svn-id: trunk@9676 -
2008-01-08 08:14:04 +00:00
Jonas Maebe
bf9b021749 * optimized align() so it no longer contains any branches which
are undecidable at compile time
  + basic test for align() function

git-svn-id: trunk@9674 -
2008-01-07 21:41:12 +00:00
Vincent Snijders
46ca7ee46a o improved sumcol benchmark
* read line in string and convert to integer using val, like gcc does
* cache input text file, to avoid calling fpc_get_input all the time.

git-svn-id: trunk@9671 -
2008-01-07 13:51:34 +00:00
Vincent Snijders
2fb2712029 * current version of sumcol benchmark by Steve Fisher
git-svn-id: trunk@9670 -
2008-01-07 12:30:58 +00:00
Vincent Snijders
27b810b732 * cleanup
git-svn-id: trunk@9669 -
2008-01-07 12:20:48 +00:00
Vincent Snijders
a1f7a9086c * improved fannkuch benchmark
git-svn-id: trunk@9668 -
2008-01-07 11:09:07 +00:00
Jonas Maebe
84159b3cbb * optimize away unnecessary implicit upcasts to int64 for subtractions
of u32bit values on 32 bit platforms (after the int64 values have 
    already been used for overload selection etc, i.e., semantically
    nothing changes)
  + test which checks that not too many typecasts are optimized away

git-svn-id: trunk@9664 -
2008-01-06 23:30:19 +00:00
Jonas Maebe
08ccb30e3b * perform real "exactness" checking for open array parameters
git-svn-id: trunk@9624 -
2008-01-04 12:54:47 +00:00
Jonas Maebe
edffeac316 * declare math.pinteger as an alias of objpas.pinteger to avoid type
masking errors (mantis #10540)

git-svn-id: trunk@9617 -
2008-01-02 19:53:14 +00:00
Vincent Snijders
4958973566 improved version of mandelbrot benchmark, uses now sse2 exclusively.
git-svn-id: trunk@9615 -
2008-01-02 15:18:25 +00:00
Jonas Maebe
c05f18a1b0 * catch duplicate field declarations in a single class in Delphi mode
(mantis #10457)

git-svn-id: trunk@9534 -
2007-12-26 15:21:18 +00:00
pierre
71999fab94 * use mysql 5.0
git-svn-id: trunk@9533 -
2007-12-26 14:27:48 +00:00
pierre
9a70cf8e16 * only output end if start is already written, prevents wrong html
git-svn-id: trunk@9532 -
2007-12-26 14:23:43 +00:00
peter
fed5137bbb * fix Makefile
git-svn-id: trunk@9531 -
2007-12-26 13:32:40 +00:00
pierre
6373e3f6b5 * update Makefile
git-svn-id: trunk@9530 -
2007-12-26 13:27:40 +00:00
Jonas Maebe
ca7650418d * fixed/added overflow checking in generic unarminusn code + test
+ added support for OP_NEG/OP_NOT in tcg64f386.a_op64_ref_reg (needed
    for the above)

git-svn-id: trunk@9528 -
2007-12-25 23:52:09 +00:00
Jonas Maebe
58600c71b9 + new test for overflow checking qword multiplication with high(qword)
git-svn-id: trunk@9522 -
2007-12-23 21:18:59 +00:00
Jonas Maebe
01592d7b5d * don't convert terminating #0 of UCS4Strings to widestring
* fixed length check in twide5.pp

git-svn-id: trunk@9518 -
2007-12-23 18:40:15 +00:00
yury
6a4ee90cb0 * Inherit recordalignment by objects. Otherwise static instances of child objects are not aligned properly. Mantis #10454.
+ Test.

git-svn-id: trunk@9495 -
2007-12-21 15:35:32 +00:00
Jonas Maebe
f8137f686a * fixed uses of custom-length string types in parameter lists
git-svn-id: trunk@9488 -
2007-12-17 16:56:23 +00:00
Jonas Maebe
91aa85ab4e * don't rely on #32 (space, which replaces #0 in strings when comparing)
being considered as smaller than any other character

git-svn-id: trunk@9487 -
2007-12-17 15:36:11 +00:00
Jonas Maebe
719c29cf86 + new cpo_openequalisexact parameter comparison option which
treats equal open arrays, open strings and arrays of const
    (implicitly also open) as exactly matching (since you
     cannot declare such types on their own, so they will
     never match exactly)
  * require that forward declared procedures match the
    implementation exactly for both the parameters (with
    the above modification) and result type (mantis
    #10425 and the related webtbf/tw10425a.pp)

git-svn-id: trunk@9484 -
2007-12-16 22:22:11 +00:00
florian
86e3e79e67 + WC_NO_BEST_FIT_CHARS
* use WC_NO_BEST_FIT_CHARS when calling WideCharToMultiByte
* made tiwde6 more verbose

git-svn-id: trunk@9481 -
2007-12-16 13:45:09 +00:00
Jonas Maebe
10d32696df * fixed string legths for ansistrl(i)comp
git-svn-id: trunk@9475 -
2007-12-16 12:03:47 +00:00
Jonas Maebe
2ffc310ebb * fixed AnsiStrLComp and AnsiStrLIComp: they also have to ignore
embedded #0's apparently + adapted test

git-svn-id: trunk@9471 -
2007-12-16 10:41:18 +00:00
Jonas Maebe
72f6ec3c8f * fixed typo in diagnostic output
git-svn-id: trunk@9470 -
2007-12-16 10:10:41 +00:00
Jonas Maebe
b546eeff6c * sse operands have to aligned to 16 instead of 8 byte boundaries
* fixed alignment directive in the code

git-svn-id: trunk@9457 -
2007-12-15 15:14:20 +00:00
Jonas Maebe
0c773015ef * moved to the correct location
git-svn-id: trunk@9445 -
2007-12-13 21:48:06 +00:00
Jonas Maebe
407fdb89a7 + also test AnsiStrUpper/AnsiStrLower
git-svn-id: trunk@9443 -
2007-12-13 20:55:15 +00:00
Jonas Maebe
60ccf03a0b * completed cwstring unit
* optimized LowerWideString/UpperWideString not to call UniqueString
    for each string character
  * fixed LowerAnsiString/UpperAnsiString in case an ascii character
    has a lower/uppercase version with a different length than 1
  + generic test for ansistring comparisons using on the widestring
    manager (based on glibc test)
  - removed ansi2ucs4-related stuff as it's not used/needed

git-svn-id: trunk@9440 -
2007-12-13 20:41:31 +00:00
florian
2650ca51e6 * moved
git-svn-id: trunk@9437 -
2007-12-12 22:35:00 +00:00
florian
8f17101039 * allow application of as operator only to interfaces having a guid, resolves #6797
git-svn-id: trunk@9436 -
2007-12-12 21:07:47 +00:00
Jonas Maebe
92b99c4389 + test for previous commit
git-svn-id: trunk@9417 -
2007-12-08 16:00:28 +00:00
Jonas Maebe
24f8249f36 * flush pending local switch changes before evaluating ifopt
(mantis #10350)

git-svn-id: trunk@9413 -
2007-12-07 18:24:57 +00:00
Jonas Maebe
f38e190892 * don't substitute the result variable of an inlined function with
a regable variable, because this result variable of the inlined
    function may not be regable + test (mantis #10371)

git-svn-id: trunk@9409 -
2007-12-07 13:29:16 +00:00
Jonas Maebe
68595c8b72 * fixed wchar_t type (was: widechar, now is cint/cint32/long depending on
platform)
  + mbstate_t type for all unixes except BeOS (doesn't exist for BeOS)
  + implemented UpperAnsiStringProc/LowerAnsiStringProc for unix
  * fixed Ansi2UCS4Move in cwstring (although it isn't used anywhere
    currently)
  + test for Upper/LowerAnsiString

git-svn-id: trunk@9393 -
2007-12-05 17:42:35 +00:00
Jonas Maebe
2319d8c3ce * fixed WideStringToUCS4String and UCS4StringToWideString for code points
requiring surrogate pairs in utf-16 + test

git-svn-id: trunk@9391 -
2007-12-05 13:05:09 +00:00