Commit Graph

204 Commits

Author SHA1 Message Date
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
florian
5d57f38619 + functions for FMA and AVX2 detection
git-svn-id: trunk@27202 -
2014-03-20 15:47:51 +00:00
paul
7ac3647ff2 rtl: apply patch of Inoussa with Incremental Implementation of the Unicode Collation Algorithm (mantis #0024873)
git-svn-id: trunk@25296 -
2013-08-19 16:35:12 +00:00
nickysn
6be738f256 + added directories cpu16/ and cpu16/i8086/ to the testsuite makefiles
git-svn-id: trunk@25098 -
2013-07-14 11:56:45 +00:00
florian
0e41df598e * merge i8086 branch by Nikolay Nikolov
git-svn-id: trunk@24324 -
2013-04-25 20:23:51 +00:00
nickysn
f06b58a8bd * always enable smartlinking for the tests themselves when running the testsuite for msdos
git-svn-id: branches/i8086@24131 -
2013-04-02 13:25:03 +00:00
pierre
889181c4a5 Avoid including MakeChunk filefor clean'ing targets
git-svn-id: trunk@23949 -
2013-03-21 11:44:48 +00:00
pierre
3b655c312e Try to fix problems related to inclusion of non-existing MakeChunk file
git-svn-id: trunk@23942 -
2013-03-20 10:17:46 +00:00
yury
d503ae6c3d * Allow passing of double quoted paths in TEST_OPT.
git-svn-id: branches/targetandroid@23512 -
2013-01-24 10:30:07 +00:00
yury
d26f0552a0 * Sync with trunk r23404.
* Regenerated makefiles.

git-svn-id: branches/targetandroid@23405 -
2013-01-16 13:21:51 +00:00
yury
663f354471 * Support for running tests on a remote Android device using ADB.
git-svn-id: branches/targetandroid@23226 -
2012-12-27 08:17:06 +00:00
florian
d4c17ec4e0 + patch by Vojtech Cihak to add csqr function, resolves #23492
+ init function for complex numbers
+ csamevalue function
+ test
+ run tests in units/ucomplex directory

git-svn-id: trunk@23156 -
2012-12-16 10:15:13 +00:00