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
pierre
92c1190ace
Reintroduce $(Q)
...
git-svn-id: trunk@34329 -
2016-08-18 07:08:20 +00:00
pierre
05542fbed9
Fix failure for windows make, related to the use of redirection,
...
which on mingw32 make generate the use of a batch file, incompatible with
forward slashes usd for createlst and gparmake.
* utils/createlst.pp:
Modify to add a first parameter with the name of the output file.
Makefile.fpc: Adapt to new parameter of createlst.
Change list name for directory TEST from TESTfilelist.lst to filelistTEST.lst
to avoid generating files that start as the directory.
git-svn-id: trunk@34328 -
2016-08-18 07:06:19 +00:00
pierre
bf652e79ed
Fix infinite loop problem that appear on gcc112 linux machine using GNU make 4.0.
...
* Never put destination directory in the dependency list, as it gets modified when
the target file is created and led to infinite recursion.
We cannot use $(MKDIRTREE) unconditionally as this generates make error
at least on Windows OS.
Instead, create an explicit target for $(TEST_OUTPUTDIR), and add a:
$(MAKE) $dir
line on gparmake, createlst and $(MAKEINC) targets explicitly.
git-svn-id: trunk@34324 -
2016-08-17 05:36:23 +00:00
Jonas Maebe
b3419ef06e
* add $(CREATELST) to the dependencies of $(GPARMAKE), so that both binaries
...
are not compiled at the same time (because otherwise the compiler may
trip over itself in case it performs linking via an external script or
using a response file)
git-svn-id: trunk@34322 -
2016-08-16 16:33:21 +00:00
svenbarth
e0fd432c9d
* use a Pascal tool instead of a Makefile to generate the list of test files; this way the testsuite works again with older versions of make that don't support $(info ...) (e.g. 3.80 and earlier)
...
git-svn-id: trunk@34310 -
2016-08-14 11:25:10 +00:00
pierre
7dcd7393e8
Use createlst.mak also to generate tbs/tbf/webtbs/webtbf directory lsitings to avoid hitting parameter length limitation
...
git-svn-id: trunk@34044 -
2016-07-01 16:40:40 +00:00
pierre
806890df40
Avoid line longer than 255, to be able to edit Makefile.fpc with fp IDE
...
git-svn-id: trunk@33831 -
2016-05-28 07:27:24 +00:00
nickysn
0a9bcf0369
+ added the new test/units/windows directory to the list of dirs, searched for tests by the makefile
...
git-svn-id: trunk@33763 -
2016-05-23 17:22:07 +00:00
florian
faec3936d7
* take care of SUBARCH when running tests
...
git-svn-id: trunk@32646 -
2015-12-12 19:13:36 +00:00
nickysn
47475c775f
* fixed testsuite after r32548 for certain GNU Make versions, where "-s" is not
...
enough to suppress the "entering directory" and "leaving directory" messages
(GNU Make 4.0 under Fedora 23 happens to be one that needed that fix)
git-svn-id: trunk@32585 -
2015-12-04 23:58:08 +00:00
florian
38f3644b0b
+ response file support for gparmake
...
* create a file list of all test/t*.pp tests and pass it as response file to gparmake to overcome command line length limits
git-svn-id: trunk@32548 -
2015-11-28 20:37:28 +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
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
Tomas Hajny
5f0a671ddc
* single quotes are not accepted under OS/2
...
git-svn-id: trunk@29541 -
2015-01-24 11:12:31 +00:00
pierre
1c6bc92ce4
Reverted separation of test and test subdirs that led to incomplete testsuite results
...
git-svn-id: trunk@28932 -
2014-10-26 16:47:55 +00:00
pierre
87dfdaacf5
Second try to fix wrong commit, missing changedir resotred
...
git-svn-id: trunk@28930 -
2014-10-25 22:59:13 +00:00
pierre
1e74266499
Fix error introduced in last commit
...
git-svn-id: trunk@28926 -
2014-10-25 09:01:49 +00:00
pierre
0825f4a1a9
Set TEST_USE_LONGLOG to send longlog to www.freepascal.org instead of all log and elg files
...
git-svn-id: trunk@28916 -
2014-10-24 21:38:51 +00:00
Tomas Hajny
47818b38a6
* updates necessary for correct uploading of testsuite results under OS/2
...
git-svn-id: trunk@28828 -
2014-10-15 21:45:16 +00:00