Jonas Maebe
fd0c2f36e5
* don't parse "flags" as a register name in the Intel assembler reader
...
(mantis #29040 )
git-svn-id: trunk@32368 -
2015-11-19 19:40:06 +00:00
michael
13cfc4ac8f
* Added test for NormalizedBCD
...
git-svn-id: trunk@32358 -
2015-11-18 14:39:29 +00:00
nickysn
a19c506b46
+ added a very simple test for i8086-msdos for linking an external TASM
...
assembler .obj module. Note that TASM modules aren't fully supported yet,
because our OMF internal linker doesn't support all features of the OMF object
format. This test works, because it's really simple. As more OMF features are
supported, this test will be extended.
git-svn-id: trunk@32353 -
2015-11-17 17:08:25 +00:00
michael
dfedc081e0
* Test for scandatetime (bug ID 28952)
...
git-svn-id: trunk@32347 -
2015-11-16 19:51:14 +00:00
florian
d102bdc192
+ include tests/test/units/fmtbcd into the list of directories being searched for tests
...
git-svn-id: trunk@32336 -
2015-11-15 19:06:58 +00:00
florian
70b8789262
o basic extended pascal support:
...
+ automatically loaded helper unit
* Makefiles adapted
* mode switch
* mode switches reorganized
+ TimeStamp support
git-svn-id: trunk@32330 -
2015-11-15 15:13:36 +00:00
nickysn
1e7a0838d7
+ added test for the 'SEG @CODE' and 'SEG @DATA' i8086 inline assembler directives
...
git-svn-id: trunk@32284 -
2015-11-10 21:21:17 +00:00
nickysn
8c81e93a96
* replaced setintvec(x,@proc) in i8086 tests with the memory model independent version setintvec(x,ptr(seg(proc),ofs(proc)))
...
git-svn-id: trunk@32249 -
2015-11-05 14:18:55 +00:00
Jonas Maebe
f004227d91
* ignore the name of class con- and destructors (patch by Ondrej Pokorny,
...
mantis #28801 )
git-svn-id: trunk@32223 -
2015-11-03 18:10:08 +00:00
Jonas Maebe
8087389f63
* support assigning static methods to regular procvars in (obj)fpc mode
...
(patch by Ondrej Pokorny, mantis #27414 )
git-svn-id: trunk@32216 -
2015-11-01 18:02:46 +00:00
nickysn
c25585daee
* fixed addr(procedure), mantis #28775
...
git-svn-id: trunk@32204 -
2015-10-30 15:17:48 +00:00
Jonas Maebe
4decb81ac4
* correctly handle code page names specified in upper case (mantis #28934 )
...
git-svn-id: trunk@32202 -
2015-10-30 15:10:26 +00:00
nickysn
500743c65d
+ extended test with many more reference syntaxes, accepted by TP7
...
git-svn-id: trunk@32190 -
2015-10-29 15:48:18 +00:00
nickysn
1eaa77d2f9
+ added test for i8086 inline asm access to procedure data
...
git-svn-id: trunk@32186 -
2015-10-29 14:47:26 +00:00
nickysn
ce7672b750
+ added test for local label data access from i8086 inline asm
...
git-svn-id: trunk@32178 -
2015-10-28 17:00:35 +00:00
nickysn
83d90c7888
+ extended test with call/jmp [d]word ptr const, which produces an indirect call or jump under BP7
...
git-svn-id: trunk@32177 -
2015-10-28 15:22:33 +00:00
nickysn
a7a71f8b9f
+ extended test with many more variants, supported by BP7 for specifying an indirect call/jmp
...
git-svn-id: trunk@32176 -
2015-10-28 14:57:35 +00:00
nickysn
1fc1739c1d
+ added calls to local labels in a far procedure to the test as well
...
git-svn-id: trunk@32175 -
2015-10-28 14:33:32 +00:00
nickysn
85f4b8aa5e
+ added calls to labels to the tests
...
git-svn-id: trunk@32174 -
2015-10-28 13:59:35 +00:00
nickysn
fe3711bf6a
+ added interrupt procedures to the tests
...
git-svn-id: trunk@32173 -
2015-10-28 13:49:48 +00:00
nickysn
13441261f2
+ extended tests with some additional ways to produce call relative near/absolute far in BP7's inline asm
...
git-svn-id: trunk@32172 -
2015-10-28 13:32:18 +00:00
nickysn
30718a2601
+ added i8086 inline asm near relative and far absolute call tests (TP7
...
compatible, but not yet working under FPC, unfortunately)
git-svn-id: trunk@32164 -
2015-10-27 14:39:02 +00:00
nickysn
6b89ea1af2
+ added an i8086 inline assembler test for the near and far ret instructions
...
git-svn-id: trunk@32158 -
2015-10-26 17:06:17 +00:00
yury
05ecee1895
* tinterlockedmt test: Ensure all threads have started.
...
git-svn-id: trunk@32156 -
2015-10-26 10:14:47 +00:00
yury
1127689dba
* tinterlockedmt test: Reduced the thread count.
...
git-svn-id: trunk@32148 -
2015-10-25 17:35:36 +00:00
nickysn
1491d9655c
+ fixed the emitting of non-nil far and huge pointer constptrs in typed
...
constants on i8086
git-svn-id: trunk@32141 -
2015-10-24 20:25:49 +00:00
yury
4ae1d23909
* tinterlockedmt test: Increased timeout.
...
git-svn-id: trunk@32111 -
2015-10-21 09:02:16 +00:00
nickysn
520f7226aa
+ added test for i8086 inline asm far and near indirect jmps as well
...
git-svn-id: trunk@32110 -
2015-10-21 01:26:15 +00:00
nickysn
2fbcdaf7d5
* fix typo
...
git-svn-id: trunk@32109 -
2015-10-21 01:22:23 +00:00
nickysn
bdf719c4df
* updated comment to inform that 'call far reg' is not a valid x86 instruction
...
at all, and not just that we don't expect it
git-svn-id: trunk@32108 -
2015-10-21 01:19:23 +00:00
nickysn
c5aa64bc2c
+ added an i8086 inline asm test for the indirect near and far call instructions
...
git-svn-id: trunk@32107 -
2015-10-21 01:07:00 +00:00
yury
9bece502a0
* tinterlockedmt test: Reworked test for InterlockedCompareExchange to be more robust.
...
git-svn-id: trunk@32101 -
2015-10-20 12:43:52 +00:00
pierre
854d04bb46
Fix missing aarch64 CPU in ShowHistory for one test
...
git-svn-id: trunk@32096 -
2015-10-19 14:47:50 +00:00
yury
325a79b81b
* tinterlockedmt test: Another fix to improve threads synchronization. Should fix slow execution on some systems.
...
git-svn-id: trunk@32095 -
2015-10-19 11:34:52 +00:00
pierre
89f5b65bbf
New aarch64-linux gcc compiled objects generated on GCC Compile Farm gcc115 machine
...
git-svn-id: trunk@32094 -
2015-10-19 10:40:35 +00:00
sergei
72f60de3c4
* Added two test cases from Mantis #28584 . The issue itself has been fixed with r31475 and r31582.
...
git-svn-id: trunk@32092 -
2015-10-18 14:48:36 +00:00
yury
3344188f3e
* tinterlockedmt: Minor improvement.
...
git-svn-id: trunk@32091 -
2015-10-18 12:41:35 +00:00
yury
3fcbb7d2d4
* tinterlockedmt: Fix race conditions in the InterLockedCompareExchange test.
...
git-svn-id: trunk@32089 -
2015-10-18 11:07:29 +00:00
sergei
be6bcb71dc
* Fixed test on 64-bit targets, was always using i386 code due to incorrect CPU selection symbol (must be "cpux86_64", not "x86_64").
...
git-svn-id: trunk@32087 -
2015-10-18 10:02:21 +00:00
yury
44777f3797
* Use ThreadSwitch.
...
git-svn-id: trunk@32076 -
2015-10-17 16:03:18 +00:00
yury
e3d06cdba7
+ Stress test for Interlocked* functions using multiple threads.
...
git-svn-id: trunk@32073 -
2015-10-17 14:48:04 +00:00
Jonas Maebe
1294dc1ede
* when inserting a non-empty ansistring into an empty ansistring, the
...
destination must get the code page of the source (mantis #28850 )
git-svn-id: trunk@32066 -
2015-10-16 19:15:40 +00:00
yury
9431648b6c
* Fixed conversion from float to currency when the currency type is 64-bit integer. Issue #28748 .
...
git-svn-id: trunk@32054 -
2015-10-13 22:30:46 +00:00
yury
a4f63a07d2
* Skip this test for android.
...
git-svn-id: trunk@32007 -
2015-10-10 21:57:08 +00:00
svenbarth
d4635f10df
Remaining fix for Mantis #28674 .
...
ptype.pas, resolve_forward_types:
* in case of the def of the forward being the same as the genericdef of the def the forwarddef belongs to the typesym needs to be changed to the one of the specialization
tests/webtbs/tw28674.pp:
* adjusted text
git-svn-id: trunk@31987 -
2015-10-09 13:18:35 +00:00
Jonas Maebe
e15c969cbc
* mention modified registers in assembler block
...
* prevent writes beyond the end of the record
git-svn-id: trunk@31956 -
2015-10-05 21:17:41 +00:00
svenbarth
3afc18f277
Fix for Mantis #28766 .
...
ncgrtti.pas, write_persistent_type_info:
* do not generate RTTI information for generics
git-svn-id: trunk@31911 -
2015-10-02 13:06:51 +00:00
svenbarth
c25e7491e7
Fix for Mantis #28674 .
...
ptype.pas, resolve_forward_types:
* fix an access violation in case of inline pointer declarations
* fix the check whether it's a valid use of a generic (parse_generic is useless here...)
+ added test
git-svn-id: trunk@31910 -
2015-10-02 12:46:13 +00:00
yury
99615264c5
* typos.
...
git-svn-id: trunk@31886 -
2015-09-29 12:31:55 +00:00
Jonas Maebe
e25c5b809e
* use cextended instead of clongdouble, so that the tests keeps compiling
...
for platforms where we don't support the "long double" type
git-svn-id: trunk@31883 -
2015-09-29 07:44:07 +00:00