Commit Graph

179 Commits

Author SHA1 Message Date
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
tom_at_work
71059475f8 GParMake also needs to get passed to allow completion of testsuite when some compilation options are incompatible to the default ones
git-svn-id: trunk@22438 -
2012-09-22 12:54:35 +00:00
tom_at_work
65a4ab399e Fix use of FPC_OPT to build gparmake. The correct name of the parameter is FPCOPT. Regenerate makefile.
git-svn-id: trunk@22077 -
2012-08-13 20:45:39 +00:00
Jonas Maebe
b07f8b42fd * always add -Fd to the compiler command line parameters, because the
directory cache significantly slows down running the testsuite (most
    tests only use very few units, and are located in directories
    containing hundreds or thousands of other, unrelated files)

git-svn-id: trunk@21761 -
2012-07-03 13:42:27 +00:00
Jonas Maebe
8329e60d28 * also support running the "full" and "fulldb" targets with -jX by
serializing their individual steps

git-svn-id: trunk@21488 -
2012-06-05 14:47:41 +00:00
Jonas Maebe
04df0d537e * more finegrained parallelism support for testsuite runs: the tests are no
longer split per directory, but in chunks of 100 tests (configurable via
    the new CHUNKSIZE=xxx Makefile parameter), which then all can be checked
    in parallel
   o dependencies between tests are handled by always putting tests whose
     name is the same except for the last character into the same chunk
   o as previously, -jx can only be used for the "all" target, other targets
     cannot be executed in parallel
   o the "units" directory has been renamed "tstunits" because otherwise
     "make distclean" will remove it entirely now that the main tests
     makefile also compiles a program

git-svn-id: trunk@21479 -
2012-06-03 17:56:28 +00:00
Jonas Maebe
252483ffd8 + support for running the testsuite in parallel. Note that only the "all"
target can be run in parallel, so "clean", "digest" and/or "dbdigest"
    have to be run in separate make invocations if you wish to use -j for
    running the testsuite

git-svn-id: trunk@21406 -
2012-05-28 09:14:56 +00:00
marco
743e58ed0f * test for bzip2 from Mantis #21261
git-svn-id: trunk@20977 -
2012-04-22 10:12:45 +00:00
Tomas Hajny
b1810691fa + new directory units/lineinfo added
git-svn-id: trunk@20178 -
2012-01-26 00:20:09 +00:00
pierre
95ea87d797 * Fix tar option for OpenBSD
git-svn-id: trunk@19505 -
2011-10-17 09:24:19 +00:00
pierre
f3626b4b80 * Sort test source files, needed of freebsd at least
git-svn-id: trunk@19259 -
2011-09-27 20:59:25 +00:00
pierre
e56aa45c5a + phony sources rule added to remove any PPU files in source directories
git-svn-id: trunk@18934 -
2011-09-01 14:25:15 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
florian
8833c1cfa3 * patch by Petr-K to fix 3*3 matrix inversion, resolves #19828
+ tests

git-svn-id: trunk@18213 -
2011-08-14 21:46:47 +00:00
pierre
51b867e6c3 Fix USEENV, export DOTESTENV was missing
git-svn-id: trunk@17941 -
2011-07-06 16:18:05 +00:00
pierre
81f722237d + Added distclean target to units/Makefile.fpc
+ also run $(MAKE) -C units distclean for distclean at tests directory level.

git-svn-id: trunk@17782 -
2011-06-21 09:25:30 +00:00
pierre
d0b2c8c9bb + USEENV for dotest calls to use !ENV_NAME as unique program parameter
that contians all parameters.
  + vpath %.o $(C_SUBDIR) and direct %.o from %.c or %.cc rule
    use TEST_CCOMPILER
  + test/library subdirectory added

git-svn-id: trunk@17781 -
2011-06-21 07:23:31 +00:00
Jonas Maebe
ba0782773b * create $(TEST_OUTPUTDIR)/test/cg before copying the object files there,
hopefully fixes the problems with the nightly testsuite results on Darwin

git-svn-id: trunk@17168 -
2011-03-23 14:17:35 +00:00
pierre
dd627980e3 + Group C and CPP sources into C_SOURCES and CPP_SOURCES variables
* Use these new varaibles to simplify copyfiles rule, copy the objects
  into output subdirectory and not in tests/test/cg.
  + New rules: create_c_objects and delete_c_objects.
  create_c_objects: Compile using TEST_CCOMPILER variable value
  all C_SOURCES and CPP_SOURCES, using TEST_CFLAGS option if set.
  delete_c_objects: Delete the existing C compiled objects to force
  recompilation in create_c_objects.

git-svn-id: trunk@17113 -
2011-03-10 11:45:19 +00:00
pierre
c5b2096f40 Add TEST_BENCH config
git-svn-id: trunk@16758 -
2011-01-13 14:18:14 +00:00
Jonas Maebe
15e9c54b44 * fixed ABI compliance for parameter passing and function returning on all
x86-64 platforms (except for win64, which uses another ABI and which
    already complied to it) + test
  * fixed returning records containing 1 single or double field on darwin/i386,
    these have to be returned via ST0 instead of as a regular record
  * added support for LOC_FPUREGISTER and LOC_MMREGISTER in several places
    where they can now occur due to the previous two changes
  * made a few internalerrors unique

git-svn-id: trunk@15368 -
2010-06-03 20:08:50 +00:00
marco
39f4fd49df * Mantis 16504 tar line in tests dir changed to have "f" as last opt.
git-svn-id: trunk@15294 -
2010-05-19 07:22:18 +00:00
Jonas Maebe
4d4f369bf8 * also copy cpptcl2.o (r15239)
git-svn-id: trunk@15244 -
2010-05-09 17:18:42 +00:00
pierre
3f30dded7f * avoid problems if two svnversion executable are in SEARCHPATH
git-svn-id: trunk@14868 -
2010-02-06 17:33:47 +00:00
pierre
fb1cf4fc8f + Use TEST_DATETIME in dbdigest.cfg file
git-svn-id: trunk@14802 -
2010-01-25 12:36:42 +00:00
pierre
b2c04a2a57 + Add compiler and svn revision information
git-svn-id: trunk@14800 -
2010-01-25 10:50:16 +00:00