Commit Graph

228 Commits

Author SHA1 Message Date
michael
b3493d1f07 * Unicode string assertequal
git-svn-id: trunk@42191 -
2019-06-08 14:41:09 +00:00
Jonas Maebe
9e9a982bfe * synchronised with trunk till r42095
git-svn-id: branches/debug_eh@42096 -
2019-05-18 18:43:51 +00:00
Jonas Maebe
c330f5080c * replaced fpcunit custom code to obtaining a caller site with a call to
CaptureBacktrace (prevents crashes when compiled with LLVM backend,
    and is generally more robust)

git-svn-id: trunk@42093 -
2019-05-18 18:41:29 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
Károly Balogh
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
4e7003fb94 Update all packages Makefile's
git-svn-id: trunk@39828 -
2018-09-27 07:05:49 +00:00
pierre
41d2a0a496 Disable libraries not compiling for jvm-java or jvm-android targets
git-svn-id: trunk@39808 -
2018-09-26 09:29:33 +00:00
michael
fd8641d83c * Fix bug #34164 - Fix use of AssertCount and use overloaded ComparisonMsg
git-svn-id: trunk@39660 -
2018-08-21 13:24:17 +00:00
marco
aaef0d5570 * removed a space, mantis #34149
git-svn-id: trunk@39657 -
2018-08-20 16:15:42 +00:00
marco
98f00acb06 * trunk to 3.3.1
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
marco
d143ab60e1 * regenned makefile without date/rev components for easier merging.
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
michael
e3e621a05c * Fix bug #34131, missing Msg in checkIS
git-svn-id: trunk@39613 -
2018-08-14 13:50:20 +00:00
pierre
0064860f75 Changes for symbian target OS
git-svn-id: trunk@39577 -
2018-08-06 15:14:25 +00:00
michael
ddb6741c6c * Fix bug ID #34076 using provided patch: Add QWord overloads to Assert/CheckEquals
git-svn-id: trunk@39545 -
2018-08-02 06:03:42 +00:00
michael
dcf685b835 * Fix bug ID #34075 using provided patch: some methods not updating assert call count.
git-svn-id: trunk@39544 -
2018-08-02 05:59:20 +00:00
pierre
a93fe1b363 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38751 -
2018-04-12 15:26:33 +00:00
michael
bbf06c438c * Slightly better error message
git-svn-id: trunk@38611 -
2018-03-23 21:34:42 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
michael
d0209031d2 * Observe defaultRunAllTests again
git-svn-id: trunk@36919 -
2017-08-15 16:27:21 +00:00
michael
b4c7be0b2d * Set exitcode on error usage
git-svn-id: trunk@36918 -
2017-08-15 16:24:43 +00:00
michael
33fea4f9e3 * Fix detection of usage
git-svn-id: trunk@36917 -
2017-08-15 16:22:21 +00:00
Károly Balogh
4c25bd935f packages: disabled packages for macos and palmos which currently cannot be built for these
git-svn-id: trunk@36889 -
2017-08-12 21:08:34 +00:00
michael
1729d6a848 * Rework to be able to use in compiler testsuite
* Refactor for better code readability
  * Set exit status based on bitmask: 
    bit 0 set -> there were failures
    bit 1 set -> there were errors 
  * Allow use of testdefaults.ini file
  * Location of testdefaults.ini file can be set in environment variable FPCUNITCONFIG.
  * Improved usage message.

git-svn-id: trunk@36816 -
2017-08-02 10:02:24 +00:00
pierre
7a172d3d5a Regenerated all Makefile from packages directories
git-svn-id: trunk@36395 -
2017-06-01 14:15:50 +00:00
michael
3c53796044 * Fix memleak in case only a selection of tests is run
git-svn-id: trunk@35954 -
2017-04-26 13:24:42 +00:00
michael
6252a02fe1 * Fixed 24688
git-svn-id: trunk@35878 -
2017-04-21 19:11:10 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
joost
11b163ee18 * Resolved infinitive loop on an exception during the one-time-setup of a testsuite
git-svn-id: trunk@35756 -
2017-04-08 14:43:21 +00:00
Károly Balogh
7a18cd8d38 atari: now that we have an almost complete RTL with DOS unit, we can re-enable a bunch of packages
git-svn-id: trunk@35278 -
2017-01-12 13:43:51 +00:00
svenbarth
933e449848 + add a simple test runner for FPCUnit (no parameters, only plain output, sets ExitCode depending on any failures/errors) that can be used with FPC's testsuite
git-svn-id: trunk@35095 -
2016-12-09 20:22:33 +00:00
Károly Balogh
4133847225 atari: disabled some packages
git-svn-id: trunk@34614 -
2016-10-04 10:12:40 +00:00
michael
1e36144e87 * Rework test tree construction, finding tests (bug ID 30384)
git-svn-id: trunk@34473 -
2016-09-10 10:17:20 +00:00
michael
9e6077bee2 * Patch from Silvio Clecio to adapt to new VMT methods (bug ID 30435)
git-svn-id: trunk@34471 -
2016-09-09 12:29:06 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
michael
60cd15dda0 * Add small comment indicating possible improvement (last use of testsuite.tests)
git-svn-id: trunk@33207 -
2016-03-08 10:06:32 +00:00
michael
caec08e795 * Hopefully fix bug #29722 (wrong handling of TTestItem list)
git-svn-id: trunk@33206 -
2016-03-08 10:04:15 +00:00
michael
9271f17a45 * Output XML list when XML is asked
git-svn-id: trunk@33171 -
2016-03-05 22:24:17 +00:00
michael
920b93a121 * Fix lists of test(suites)
git-svn-id: trunk@33170 -
2016-03-05 22:24:01 +00:00
michael
b1c5077c96 * Small fix after recent changes to tests list in testsuite
git-svn-id: trunk@32868 -
2016-01-07 07:38:34 +00:00
michael
3c73c99a18 * Allow test cases to be created only once
git-svn-id: trunk@32806 -
2015-12-31 10:30:01 +00:00
michael
7ab8472a70 TTestCase.CheckAssertCalled implemented (bug ID 28408)
git-svn-id: trunk@32771 -
2015-12-27 19:31:50 +00:00
nickysn
02d6f7a2a4 - disabled the win16 target for all packages that don't compile on that platform
git-svn-id: trunk@31857 -
2015-09-27 19:32:44 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
joost
46906833f1 * Re-generated makefile's
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line.
To void cluttering the .fpm file

git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
michael
1caae4e3bc * Fixed typo, part 2 (bug 27789)
git-svn-id: trunk@30461 -
2015-04-06 07:08:46 +00:00
michael
b9aa2928df * Fixed typo (bug 27789)
git-svn-id: trunk@30460 -
2015-04-06 07:07:35 +00:00
michael
3003368ef4 * Sparse and SkipAddressInfo
git-svn-id: trunk@30363 -
2015-03-29 10:28:16 +00:00
michael
1ca0b1c5a0 * Removed some superfluous code
git-svn-id: trunk@30362 -
2015-03-29 09:37:12 +00:00
michael
1720d05d44 * Use caller addr info wherever needed.
git-svn-id: trunk@30361 -
2015-03-29 09:32:29 +00:00
michael
e8da5e1170 * Future-proof CallerAddr
git-svn-id: trunk@30360 -
2015-03-29 08:40:04 +00:00
michael
63405dbfdd * Default is to run all tests, plain format
git-svn-id: trunk@30322 -
2015-03-24 18:42:57 +00:00
michael
9523fc3d33 * Added ExpectException call, to avoid creating a new method
git-svn-id: trunk@30321 -
2015-03-24 18:42:25 +00:00
michael
1768e35daa * Patch from Graeme Geldenhuys to fix changed output format in case of error
git-svn-id: trunk@30320 -
2015-03-24 15:53:04 +00:00
michael
759549168f * Output new error address, unit and line info
git-svn-id: trunk@30319 -
2015-03-24 15:46:16 +00:00
michael
5271c7674a * Patch from Graeme Geldenhuys to add exception address to addfailure/adderror
git-svn-id: trunk@30318 -
2015-03-24 13:47:14 +00:00
michael
83728983f3 * Patch from Graeme Geldenhuys to Fix compiler hint about signed/unsigned values
git-svn-id: trunk@30317 -
2015-03-24 13:44:33 +00:00
michael
0e1cc092f2 * Patch from Graeme Geldenhuys: New fail method with address pointer
git-svn-id: trunk@30316 -
2015-03-24 13:43:15 +00:00
michael
e227d76b7d * Patch from Graeme Geldenhuys to move FailNotEquals to main interface
git-svn-id: trunk@30315 -
2015-03-24 13:40:56 +00:00
michael
1f868aac8b * Patch from Graeme GeldenHuys: Allow to set an address in Fail calls
git-svn-id: trunk@30314 -
2015-03-24 13:38:37 +00:00
michael
cadb67e90b * Patch from Graeme geldenhuys: Additional ComparisonMsg (added overload)
git-svn-id: trunk@30313 -
2015-03-24 13:34:02 +00:00
michael
20aeb0e0ad * TTestFailure now has address information
git-svn-id: trunk@30312 -
2015-03-24 13:32:35 +00:00
michael
8ee96289fc * Patch from Graeme Geldenhuys: Some helper functions
git-svn-id: trunk@30311 -
2015-03-24 13:31:10 +00:00
michael
d540c77660 * Patch from Graeme Geldenhuys to use common consoletestrunner app
git-svn-id: trunk@30310 -
2015-03-24 13:27:33 +00:00
michael
0faf7d4435 * Patch from Graeme Geldenhuys to avoid compiler warning
git-svn-id: trunk@30309 -
2015-03-24 13:24:49 +00:00
michael
e21ed02d09 * Patch from Graeme Geldenhuys to remove duplicate output strings
git-svn-id: trunk@30308 -
2015-03-24 13:17:44 +00:00
michael
d9a205de45 * Patch from Graeme Geldenhuys so fpcunit can be compiled with 2.6.4
git-svn-id: trunk@30307 -
2015-03-24 13:15:32 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
joost
1a90d29063 * Re-generated packages-Makefile.fpcs and Makefiles
git-svn-id: trunk@29409 -
2015-01-05 11:34:47 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
joost
0574714317 * Use short 8.3 names for archives on limit83fs-hosts
git-svn-id: trunk@29174 -
2014-11-28 21:35:46 +00:00
Károly Balogh
da7efb8607 AROS: regenerated Makefiles to support i386-aros
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
michael
347742ba80 * For large times, use [[hh:]nn:]ss date/time format
git-svn-id: trunk@28278 -
2014-07-30 14:53:37 +00:00
michael
7a096b20f6 * For large times, use [[hh:]nn:]ss date/time format
git-svn-id: trunk@28277 -
2014-07-30 14:53:29 +00:00
michael
1a6d734ca8 * Correct formatdatetime string
git-svn-id: trunk@28276 -
2014-07-30 14:52:42 +00:00
michael
036c208426 * Patch from Laco to improve checkequals for floats (bug ID 26172)
git-svn-id: trunk@27800 -
2014-05-18 07:21:04 +00:00
michael
360f1a30a0 * Added overloads for unicodestring strings
git-svn-id: trunk@27345 -
2014-03-29 19:01:25 +00:00
michael
96ba1090e0 * Add RegisterTests in suite
git-svn-id: trunk@26858 -
2014-02-23 20:05:38 +00:00
michael
00bac4d8e7 * Add Fail with format
git-svn-id: trunk@26857 -
2014-02-23 20:04:43 +00:00
yury
73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
Tomas Hajny
77967432ef * always use forward slashes in path to fpmake similarly to paths to other tools in Makefiles
git-svn-id: trunk@26641 -
2014-02-01 00:11:09 +00:00
michael
d7fb3be2af * Patch from reinier (bug id 25544)
git-svn-id: trunk@26476 -
2014-01-16 10:49:55 +00:00
michael
901f5742b8 * Remove redundant if
git-svn-id: trunk@25378 -
2013-08-27 10:02:03 +00:00
florian
6377c180bf * disable packages which do not build on msdos
git-svn-id: trunk@25236 -
2013-08-11 16:12:34 +00:00
Jonas Maebe
81597bf171 * updated address of FSF (mantis #24646, patch by Alexey Svistunov)
git-svn-id: trunk@24986 -
2013-06-27 14:01:18 +00:00
michael
30621e2e06 * Patch from Reinier OlieSlagers to correct message in case of not equals (bug ID 24433)
git-svn-id: trunk@24889 -
2013-06-13 14:43:21 +00:00
joost
df4191acb3 * Handle the location of each package at run-time, not at compilation time
* Added a fpmake.pp in the root, to compile the utils and packages in one go

git-svn-id: trunk@24783 -
2013-06-02 17:55:23 +00:00
pierre
4226f08565 Regenerate with up-to-date fpcmake binary
git-svn-id: trunk@24372 -
2013-04-29 12:45:11 +00:00
pierre
884918a4c4 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24365 -
2013-04-29 12:27:42 +00:00
joost
527c407b62 * Re-generated Makefiles for the changes in the Makefile.fpcs in r24349
git-svn-id: trunk@24350 -
2013-04-27 20:48:14 +00:00
joost
20a3809e58 * Now zipinstall is passed to fpmake by all Makefile.fpc's
git-svn-id: trunk@24349 -
2013-04-27 20:34:00 +00:00
joost
68b951daab * fcl-fpcunit depends on libtar, fixes compilation after r24312
git-svn-id: trunk@24314 -
2013-04-23 20:15:36 +00:00