Commit Graph

2532 Commits

Author SHA1 Message Date
marcoonthegit
2291100bbd * fix and test for bug #39884 solving daysbetween when zero date is crossed. 2022-10-05 20:46:18 +02:00
Sven/Sarah Barth
4f9acc10f0 * fix #39898: when a loadnode is captured ensure that its nf_load_procvar flag is applied to the subscript node as well
+ added tests
2022-09-20 00:01:49 +02:00
marcoonthegit
533cd82922 * applied patch from Alexey for closes #39704
* reviewed checks at start of function to match Delphi in rangecheck errors and other exits
 * test for the above.
2022-08-17 18:38:02 +02:00
florian
cc66eb27ab * patch by Rika: More numerical stability for Math, resolves #39863 2022-08-14 22:26:09 +02:00
florian
8028a769f4 * ensure that the executable path used in the test is absolute 2022-08-12 22:12:11 +02:00
Nikolay Nikolov
8c9a07a3e8 + added test for wasmglobals, where the globals are declared in the implementation section of a unit 2022-07-31 20:12:11 +03:00
Nikolay Nikolov
6d3da83611 + added test for wasm globals 2022-07-31 19:54:34 +03:00
Michaël Van Canneyt
ff3f183eb2 * Patch from Bart to remove unneeded test 2022-07-02 13:05:00 +02:00
florian
ceda27ae25 * allow type parameters in variant parts of records as we do not now
what type is used during specialization, resolves #39805
2022-06-28 22:45:17 +02:00
Michaël Van Canneyt
ecb4a0abca * Restore display of exception type. fix issue #39811 2022-06-25 14:49:44 +02:00
Michaël Van Canneyt
b2ad1d3efd * Patch from Bart. Fix for issue #39797 2022-06-25 14:33:33 +02:00
Michaël Van Canneyt
53623d7184 * Fix test regressions 2022-06-25 12:48:10 +02:00
florian
3ef7fedfec + forgotten test file added 2022-06-24 22:34:02 +02:00
J. Gareth "Curious Kit" Moreton
2d8b10a5d8 * Improved TESTALL.BAT file for JVM tests 2022-06-23 19:12:14 +00:00
Sven/Sarah Barth
a27bc236a0 * fix #39742: when assigning a function to a function reference it's not the function itself that needs to be checked to be captureable, but instead what it captures (this applies for both the non-generic and the generic case)
+ added tests
2022-05-31 23:16:41 +02:00
Sven/Sarah Barth
0874521a78 + add tests to ensure that the assignment of nested function variables to function references is forbidden 2022-05-31 22:50:14 +02:00
Sven/Sarah Barth
883cc6d697 + add tests that ensure that the overload selection works correctly when functions, methods or nested functions are assigned when overloads for function references are involved as well 2022-05-31 22:50:14 +02:00
Sven/Sarah Barth
7bb1b12b4f + add a mode Delphi equivalent for tanonfunc56 to check whether overload selection works correctly 2022-05-31 22:50:13 +02:00
florian
390084d59e * tests fixed 2022-05-29 10:37:24 +02:00
florian
b810afa193 * test also cmem unit intensively 2022-05-27 23:33:20 +02:00
Pierre Muller
2c9776ac6b Remove %OS by %TARGET, as spotted by Gareth 2022-05-26 21:38:31 +00:00
Sven/Sarah Barth
39b7b07ebb + add tests for function references, anonymous functions and C-blocks 2022-05-26 21:44:25 +02:00
Sven/Sarah Barth
6a9b4a1b13 + apply patch by Blaise.ru: allow initialisation of method pointers with class methods (when class types are
known at compile time)
* adjust error message when a method pointer isn't suitable
+ add tests
2022-05-26 21:42:55 +02:00
Sven/Sarah Barth
bc4eb00a7a * apply patch by Blaise.ru: proper code generation for assigning class non-static methods, accessed via a class reference type, to method pointers
+ added test
2022-05-26 21:42:55 +02:00
Sven/Sarah Barth
6e7a82440e * apply patch by Blaise.ru: avoid internal error when assigning class methods, accessed via a class reference type, to incompatible procvars
+ added tests
2022-05-26 21:42:55 +02:00
Sven/Sarah Barth
a8cf67d73b * apply patch by Blaise.ru: reject assignments of instance methods, accessed via a type, to method pointers
+ add tests
2022-05-26 21:42:54 +02:00
florian
084a4a0563 * made checking for supported targets more fool proof 2022-05-09 22:45:01 +02:00
J. Gareth "Curious Kit" Moreton
3e11b0e870 * New tests for aligned records 2022-05-09 20:03:44 +00:00
florian
c4e85e5d2c * made test compilable if no floating point type support is available 2022-05-06 23:25:36 +02:00
florian
29881ee675 * for now, IO is not supported on AVR 2022-05-03 19:39:09 +02:00
florian
6d6774bcc4 * write number of iterations 2022-05-01 22:42:57 +02:00
florian
9540dc8989 * make test compiling on avr 2022-04-29 23:06:17 +02:00
Sven/Sarah Barth
c0fa45dc92 * a function can't be used to implicitely specialize a specialized procedure variable parameter and vice versa
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
a5f3040da5 * the index of the generic type parameter is not the same index of the paras list
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
90844c2027 * fix #35261: apply slightly adjusted changes by Ryan Joseph to implement support for implicit generic function specializations
The main adjustments were as follows:
  - fixing coding style and identation
  - fixing some typos
  - using a better name for the property in tcallcandidates which holds the symbols created for anonymous parameter values
2022-04-20 18:59:31 +02:00
florian
6bbefcae9e * check more cpuid flags in the cpu units 2022-04-04 22:55:05 +02:00
ccrause
405523ace2 Added test cases for AVR shift by compile time constant. 2022-03-30 20:48:52 +00:00
inoussa
27ed2808dc Unicode 14, Unicode Collation Algorithm 14, CLDR 40 support. 2022-03-15 10:19:15 +00:00
florian
39627cbdfb + AVX512VBMISupport and AVX512VBMI2Support 2022-03-05 20:35:25 +01:00
Sven/Sarah Barth
2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 2022-02-18 17:54:23 +01:00
Sven/Sarah Barth
b5ce98fec7 + add C/C++ object files for aarch64-win64 compiled with LLVM 13.0.0 2022-02-18 15:23:00 +01:00
florian
67fedc6b5b * handle frac(+/-Inf or Nan) correctly in the software implementation, resolves #39584 2022-02-17 22:00:27 +01:00
florian
9ad2bdcecd + patch by Bart B: TBucketList threw access violations after Clear, resolves #39565
+ test
2022-02-16 23:00:02 +01:00
Jonas Maebe
b97c8bdf55 testobj3: fix test
Use RTL StringRefCount instead of local GetRefCount that only supports some
platforms and depends on the internal layout of ansistring headers
2022-02-12 15:25:19 +01:00
Nikolay Nikolov
2d5f0fbde0 Merge remote-tracking branch 'origin/main' into unicodekvm 2022-02-12 09:28:38 +02:00
florian
79cf1dd9cf + store also ecx and edx after cpuid call with eax=7
+ test VNNI and BIGALG instructions
2022-02-07 21:22:16 +01:00
Nikolay Nikolov
39daa64949 Merge remote-tracking branch 'origin/main' into unicodekvm 2022-02-06 16:35:22 +02:00
Pierre Muller
7a444281e8 Retry incase of thread initialization failure 2022-01-31 22:40:09 +01:00
Pierre Muller
140fe74efb Add possibility to pass jvm target compilation parameters and clean up if no problem is detected 2022-01-24 16:35:33 +00:00
Florian Klämpfl
773babd45d + test for already fixed bug so this avoids that is is reintroduced 2022-01-23 20:11:12 +01:00