Commit Graph

234 Commits

Author SHA1 Message Date
Pierre Muller
6e575e753e Add missing sub-directories from test/packages directory 2024-11-05 21:53:21 +00:00
Pierre Muller
34b6d4f572 Pass -ll option to prepup utility to include longlog file into tar.gz testsuite results 2024-10-28 11:00:27 +01:00
Pierre Muller
cfe85a036b Add TEST_FAILLIST, TEST_LOG and TEST_LONGLOG variables, and use those to set LOGFILES list, to avoid troubles if LOG, LONGLOG or FAILLIST variables already are set 2024-09-11 11:21:12 +02:00
Pierre Muller
8a38755dab Add SEPLOG make variable, and add it to LOGFILES value 2024-08-30 22:57:57 +02:00
Pierre Muller
70998b6720 Use MAKEINC_SEPARATE to enable use of '-f' option of gparmake, to redirect dotest output to separate log files 2024-08-30 22:57:57 +02:00
Pierre Muller
a0a57868c0 cat value of TEST_DATETIME variable into stamp file 2024-03-12 17:19:48 +01:00
Pierre Muller
7072813c86 Add fcl-process to TESTPACKAGESDIRECTDIRS variable 2024-02-23 16:00:06 +00:00
Sven Barth
82dd70e72f * fix parameter alignment on x86_64 when more than 6 parameters are involved (aka the stack is used)
+ added test
2023-08-03 22:34:28 +02:00
Jinyang He
176462c39a add loongarch64 tests support 2023-02-05 19:18:48 +00:00
Nikolay Nikolov
6d23d22d50 + added wasm dir to test dirs 2022-07-31 20:04:43 +03:00
florian
8c5bc91855 + tests for convutils unit by Bart B, resolves #39793 2022-06-20 22:43:16 +02:00
ccrause
405523ace2 Added test cases for AVR shift by compile time constant. 2022-03-30 20:48:52 +00:00
florian
9ad2bdcecd + patch by Bart B: TBucketList threw access violations after Clear, resolves #39565
+ test
2022-02-16 23:00:02 +01:00
florian
0f14bd45b1 * run fcl-image tests with regression tests 2021-10-29 23:06:26 +02:00
Pierre Muller
a7ad65f884 Fix use of svnversion if ../.git does not exist 2021-09-25 17:15:35 +02:00
Pierre Muller
56a8f29519 Add support for hash generation for git repository (local modifier not implemented) 2021-09-01 09:29:50 +02:00
florian
d5dfb73898 + test pastojs with regression tests
* switch extension to .pas for files which shall be ignored
    by the regression tests (they are found by the compiler automatically)
2021-08-16 23:02:09 +02:00
florian
2efaee6d85 * include fcl-json in regression tests
* switch extension to .pas for files which shall be ignored
    by the regression tests (they are found by the compiler automatically)
2021-08-16 20:20:46 +02:00
florian
246bff92d2 + include fcl-passrc in regression tests 2021-08-15 11:51:42 +02:00
pierre
6f4617eeb3 Use gdate/date -u option to get universal time for TEST_DATETIME variable
git-svn-id: trunk@49289 -
2021-04-29 14:42:56 +00:00
florian
8ed2ea3672 * createlst and gparmake need to be used with the source os extension (actually, we should call it host extension)
git-svn-id: trunk@49019 -
2021-03-20 10:16:38 +00:00
michael
a90315c3a0 * Patch from Noel Duffy to implement DNS over TCP and test
git-svn-id: trunk@48455 -
2021-01-30 08:28:13 +00:00
yury
ddf0ce014b * Include packages/fcl-registry/tests to be run by the testsuite. Renamed files so only the main test files start with "t".
git-svn-id: trunk@48382 -
2021-01-24 11:01:33 +00:00
florian
63c603cf32 * include also regexpr test in normal regression tests
git-svn-id: trunk@48105 -
2021-01-07 22:05:22 +00:00
florian
9430436a24 + include package/hash in regression tests
git-svn-id: trunk@47979 -
2021-01-02 19:27:01 +00:00
florian
9c77e4a899 * support passing options to the emulator when using one for testing
git-svn-id: trunk@47604 -
2020-11-26 21:35:00 +00:00
florian
323b3b5d2b + create directory for C objects if needed
git-svn-id: trunk@46788 -
2020-09-06 20:23:22 +00:00
pierre
219db914e3 Revert commit #45737, as it introduces problelms for other test cases
git-svn-id: trunk@45825 -
2020-07-22 09:36:13 +00:00
pierre
604b9fd1fd Use FPCOPT variable instead of OPT, to also pass BINUTILSPREFIX as -XP option for createlst and gparmake compilation
git-svn-id: trunk@45737 -
2020-07-07 11:40:36 +00:00
svenbarth
1c5d0220fe * enable tests for the Nullable unit
git-svn-id: trunk@45527 -
2020-05-29 13:04:37 +00:00
svenbarth
90c1bf2e12 * add tests\test\unit\types directory to list of tested directories
git-svn-id: trunk@45463 -
2020-05-22 12:45:20 +00:00
pierre
b77cd3a3e7 Use TEST_USE_LONGLOG by default, but check TEST_DISABLE_LONGLOG before setting it to 1
git-svn-id: trunk@44114 -
2020-02-04 22:15:44 +00:00
florian
01302bc47d * subroutines working with an OS dependend time stamp use an int64 now, so the 2038 problem
on unixes can be tackled

git-svn-id: trunk@44010 -
2020-01-21 20:59:20 +00:00
pierre
22806e31c3 Add possibility to set explicitly TEST_COMMENT variable, set as Comment field in dbdigest.cfg file (defaulting to TEST_OPT as before)
git-svn-id: trunk@43897 -
2020-01-09 14:40:44 +00:00
florian
d425a85f8d + Linux.fpstatx, resolves #36501
git-svn-id: trunk@43837 -
2020-01-02 14:10:31 +00:00
pierre
0b2a6e5a74 * tests/Makefile.fpc: Add NATIVE_FPC=$(FPC) to tstunits rule make call.
* tests/Makefile: Regenerate.
  * tests/tstunits/Makefile.fpc: Pass FPCFPMAKE=$(NATIVE_FPC) to rtl and packages
    recompilation rules, to avoid truobles for cross-compilation.
  * tests/tstunits/Makefile: Regenerate.

git-svn-id: trunk@43019 -
2019-09-16 07:41:37 +00:00
pierre
aa8a7f5130 Do not use BSD system tar option -I if TARPROG is gtar for OpenBSD
git-svn-id: trunk@42022 -
2019-05-08 09:38:43 +00:00
pierre
3f39fe75f3 Fix test_c_objects rule (by removal of extra closing braces)
git-svn-id: trunk@41983 -
2019-05-04 12:45:02 +00:00
nickysn
8b17af1f89 + added test for unit sortalgs, that tests the heapsort and randomized quicksort algorithms
git-svn-id: trunk@41247 -
2019-02-07 14:41:33 +00:00
nickysn
5c4af27a7a + added test for the sortbase unit
git-svn-id: trunk@41195 -
2019-02-03 19:16:48 +00:00
nickysn
99528f9774 + added all the missing test/units/* subdirectories: classes character dateutil fpcunit softfpu variants
git-svn-id: trunk@40538 -
2018-12-13 16:00:23 +00:00
pierre
122fd55564 + Add TEST_PARALLEL, adds -L option to DOTESTOPT
git-svn-id: trunk@40308 -
2018-11-13 15:12:22 +00:00
pierre
fb683c3adc Add generated filelistDIR.lst to list of files to delete for clean
git-svn-id: trunk@38753 -
2018-04-12 15:40:57 +00:00
maciej-izak
08c0239d1e Add rtl-generics to tests
git-svn-id: trunk@38463 -
2018-03-09 00:02:19 +00:00
florian
5e26142e54 * selected features are now stored in the system unit
git-svn-id: trunk@37772 -
2017-12-20 21:29:10 +00:00
svenbarth
ba40d4e0f3 * gparmake and createlst are (usually) compiled using the installed host compiler, so don't pass FPCOPT which is geared towards the target compiler instead and thus passes the unit directory of the that compiler's RTL which leads to the compiler picking up the wrong startup object files
git-svn-id: trunk@36692 -
2017-07-08 20:46:51 +00:00
pierre
6416864997 Revert wrong patch, which lead to an endless loop on linux systems, as directories are modified by each file additions
git-svn-id: trunk@36169 -
2017-05-10 08:43:58 +00:00
pierre
e6aa46f7f9 Add explicit dependency of gparmake and createlst executables to the units/FULL_TARGET subdirectory creation to avoid errors
git-svn-id: trunk@36167 -
2017-05-10 06:29:18 +00:00
svenbarth
43d5dacf70 + add ability to execute tests that reside in $fpcdir/packages/*/tests
For now only rtl-objpas is used as the tests nevertheless need to adhere to the rules: t*.pp, ExitCode for result, no parameters

git-svn-id: trunk@35097 -
2016-12-09 20:48:11 +00:00
florian
baa33d7e2f * pass enabled features to the compiler when running tests on the embedded target, so tests can depend on the features
git-svn-id: trunk@34929 -
2016-11-20 15:43:27 +00:00