Commit Graph

2685 Commits

Author SHA1 Message Date
florian
99a9cfbc71 + additional test 2024-11-01 10:52:35 +01:00
florian
63734fb792 * unnecessary directives removed 2024-10-31 22:35:04 +01:00
Frederic Kehrein
59a1199110 Adding support for indexed properties in extended RTTI 2024-10-31 14:51:00 +00:00
florian
397293f09f + more fixes to mark symbols used by preprocessor expressions properly
+ made MarkSymbolAsUsed more fail safe
  + tests
2024-10-20 17:28:20 +02:00
Rika Ichinose
d63b6294b5 Compile “length(string or array) = 0” as “pointer(string or array) = nil” without further check, unless really required.
Also handle length <> 0, > 0, < 0, >= 0, <= 0, assuming lengths are never negative.
2024-10-16 16:53:59 +03:00
Frederic Kehrein
a188322e76 Fixing bug where in const init no typecheck for symbol was performed 2024-10-09 19:48:53 +00:00
Michaël Van Canneyt
736edf6422 * Better testlocation 2024-10-02 07:36:17 +02:00
Frederic Kehrein
dcabb0151f Adding fpsockets unit to fcl-net 2024-10-02 07:36:17 +02:00
Frederic Kehrein
23dd7a5173 Adding TNullPtr to types
Additional changes:
* Now using TNullPtr instead of custom type in TNullable
* Adding assignment of variants with TNulPtr to avoid name conflicts
* Adding comparison to TNullPtr (Pointers, TObjects, TNullable)
2024-10-02 05:30:09 +00:00
Frederic Kehrein
6ff63107a6 Adding pointer access to nullable 2024-10-01 13:18:39 +00:00
Frederic Kehrein
d3b14eb1ba Adding tuple unit 2024-09-29 12:49:57 +02:00
Frederic Kehrein
b5a0c3b1b6 Adding some convinience functions to TNullable 2024-09-28 13:05:08 +00:00
Rika Ichinose
fc1050a834 Make use of CPUX86_HINT_BSX_DEST_UNCHANGED_ON_ZF_1 in Bsf*/Bsr*. 2024-09-22 08:33:44 +00:00
florian
8b48127b2c * as shared libraries without glibc on linux currently don't work, link those tests
on current fpc versions and linux always against glibc, so the shared library handling is tested
2024-09-19 22:57:45 +02:00
florian
5c91c89aea * avr: take advantage of sbiw in mod/div_word
+ test
2024-09-11 22:40:10 +02:00
florian
d43d581507 * fix test for non-x86 platforms 2024-09-01 21:19:25 +01:00
Nikolay Nikolov
d561390687 + increase WebAssembly max memory limit for test tmt1.pp, because the test runs
out of memory with the default memory limit of 256 MiB
2024-08-24 13:12:08 +03:00
Nikolay Nikolov
1e630e8a17 + increase WebAssembly max memory limit for test theapthread.pp, because the
test runs out of memory with the default memory limit of 256 MiB
2024-08-22 20:08:35 +03:00
Nikolay Nikolov
e48fdc5b0f + added WebAssembly inline asm tests for:
i32.clz
  i64.clz
  i32.ctz
  i64.ctz
  i32.popcnt
  i64.popcnt
2024-07-28 19:32:36 +03:00
Nikolay Nikolov
c1d6cad444 + added WebAssembly inline asm tests for:
i32.rotl
  i64.rotl
  i32.rotr
  i64.rotr
2024-07-28 19:24:02 +03:00
Nikolay Nikolov
5043bdaf18 + added WebAssembly inline asm tests for:
i32.shr_s
  i64.shr_s
2024-07-28 19:17:28 +03:00
Nikolay Nikolov
536b85021d + added WebAssembly inline asm tests for:
i32.shr_u
  i64.shr_u
2024-07-28 19:12:12 +03:00
Nikolay Nikolov
a1e4d5a517 + added WebAssembly inline asm test for:
i32.shl
  i64.shl
2024-07-28 19:06:20 +03:00
Nikolay Nikolov
3967814081 + added WebAssembly inline asm test for:
i32.and
  i64.and
  i32.or
  i64.or
  i32.xor
  i64.xor
2024-07-28 18:58:31 +03:00
Nikolay Nikolov
28a849a293 + added WebAssembly inline asm test for:
i32.rem_s
  i64.rem_s
  i32.rem_u
  i64.rem_u
2024-07-28 18:46:48 +03:00
Nikolay Nikolov
3ad7a0e716 + added WebAssembly inline asm tests for the instructions:
i32.div_s
  i64.div_s
  i32.div_u
  i64.div_u
2024-07-28 18:38:32 +03:00
florian
124480e73a * spelling fixed 2024-07-27 19:51:37 +02:00
Michaël Van Canneyt
429d04089e * Wrong file copied 2024-07-27 13:21:24 +02:00
Michaël Van Canneyt
87137a4aaa * Do not include class and array properties in RTTI 2024-07-27 08:21:44 +02:00
Nikolay Nikolov
50c1eb4089 + added WebAssembly inline asm test for the instructions:
i32.mul
    i64.mul
    f32.mul
    f64.mul
2024-07-21 15:23:20 +03:00
Nikolay Nikolov
813427da84 + added WebAssembly inline asm test for the instructions:
i32.sub
    i64.sub
    f32.sub
    f64.sub
2024-07-21 15:03:38 +03:00
Nikolay Nikolov
7f4f254888 + added test for the WebAssembly inline asm call instruction 2024-07-20 21:54:03 +03:00
Nikolay Nikolov
bbb159658a + added basic WebAssembly inline assembler test 2024-07-20 17:08:23 +03:00
Michaël Van Canneyt
b0a82993e6 * Inherit extended RTTI settings from parent object 2024-07-19 16:05:14 +02:00
Michaël Van Canneyt
de1b3a982b * Do not generate RTTI for generic methods (delphi compatible) 2024-07-19 10:42:41 +02:00
florian
97a5ec0ff4 + test for Math.RandG based on demo provided by Rika for mr 692 2024-06-27 22:14:40 +02:00
florian
e2ed90d40f * extended test
* fixed error numbers
2024-06-08 11:11:10 +02:00
florian
f2bcf407f3 + test for Sysutils.Trim* 2024-06-07 23:28:08 +02:00
florian
d5ab671ec3 * patch by Marģers: patch to enable ENTER asm instruction
+ test
2024-05-29 23:15:09 +02:00
florian
a6fe41f3f6 * decrease failure rate 2024-05-28 23:21:40 +02:00
florian
5a59ffdca7 * extended with a Chi square test to check if the random values are equally distributed 2024-05-26 23:16:50 +02:00
florian
a9c88ace25 * handle unary minus in the preprocessor, resolves #40782 2024-05-13 22:36:40 +02:00
florian
6a109634b0 * extended test to include the test case for #40732 2024-04-27 18:44:59 +02:00
florian
80e8dce98f * remove unused variables 2024-04-02 16:41:24 +02:00
florian
f28cbbf73b * run test with different options as it is tricky 2024-03-27 22:40:06 +01:00
J. Gareth "Curious Kit" Moreton
889c55ecae * "tminmax" test now prints out 'ok' if it passes and the error code if it fails 2024-03-27 02:56:44 +00:00
florian
20f9b82543 * AArch64: overflow checking for abs
* tabs adapted: also abs(longint) must overflow check on 64 bit platforms
2024-03-24 12:47:16 +01:00
florian
367beaaef4 + extend test to test overflow checking 2024-03-23 22:21:42 +01:00
florian
57a1b5a39b * fix test for i386 2024-03-10 23:02:38 +01:00
florian
11f076f0e7 + CMPXCHG16BSupport 2024-02-28 22:18:42 +01:00