Commit Graph

155 Commits

Author SHA1 Message Date
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
marco
690b6e89ea * strutils rtl unit dir + test of posex. (related to bug #15357)
git-svn-id: trunk@14785 -
2010-01-23 22:02:44 +00:00
pierre
b60517b2fb * Avoid to have cg directory twice
git-svn-id: trunk@14404 -
2009-12-11 16:33:38 +00:00
Jonas Maebe
3d1c799190 + initial tests based on ALGLIB submitted by Sergey Bochkanov
git-svn-id: trunk@14398 -
2009-12-10 22:25:34 +00:00
pierre
ad6b8a639e * do not fail tests if no gcc compiled files are present
git-svn-id: trunk@14187 -
2009-11-15 17:24:24 +00:00
Jonas Maebe
60a9ef963d * finished basic support for calling methods from external C++ classes
(slightly modified patch by Sven Barth, mantis #15082)

git-svn-id: trunk@14185 -
2009-11-15 14:55:40 +00:00
pierre
baf01d1f40 * set DB_USE_SSH allows to force ssh instead of putty
git-svn-id: trunk@14175 -
2009-11-14 17:22:27 +00:00
pierre
a31ab1e0f2 * Use DB_SSH_EXTRA instead of SSH_EXTRA for unix
git-svn-id: trunk@14165 -
2009-11-13 15:09:29 +00:00
pierre
ed0eed93ac * Add SSH_EXTRA arg to unix type scp/ssh
git-svn-id: trunk@14164 -
2009-11-13 15:08:08 +00:00
Jonas Maebe
fb2a523976 * fixed handling function results of inherited obj-c calls
(test program by Gorazd Krosl)

git-svn-id: branches/objc@13720 -
2009-09-16 13:00:50 +00:00
Jonas Maebe
df1c366428 - removed stray "SINGLEDOTESTRUNS" after "endif" (caused make warning)
git-svn-id: trunk@13565 -
2009-08-20 08:44:48 +00:00
florian
b98ee089a4 o accelerate testing
+ support multiple files on the dotest command line
  * tests are passed in directory wise batches on OSes supporting long command lines

git-svn-id: trunk@13501 -
2009-08-08 19:47:32 +00:00
joost
a2f5f7400b * Replaces several direct references to FNSI.QName by the NodeName property, so
that descendent classes can override the NodeName properly
 * Fixed an AV when GetNodeName is called and there is no NodeName set
 * Removed the THtmlCustomElement.NodeName property and override the GetNodeName
   method instead. The hashtable of TDOMNode_NS is not used because
   THtmlCustomElement uses a faster lookupsystem for tag/node-names
 * Added a basic test for the htmlwriter unit

git-svn-id: trunk@12732 -
2009-02-09 21:43:09 +00:00
florian
05031b9522 - removed quotes from TEST_REMOTEOPT as mentioned some days ago on fpc-devel
git-svn-id: trunk@12647 -
2009-02-01 17:19:44 +00:00
sekelsenmat
557fd1e1c6 Moves gettext test to correct position
git-svn-id: trunk@12291 -
2008-12-02 16:35:29 +00:00
joost
9f2e076cb3 * Added two fcl-db tests to the general testsuite
git-svn-id: trunk@12216 -
2008-11-23 15:29:13 +00:00
florian
db7a66f3af + fixed zlib for windows, resolves #12451
+ test

git-svn-id: trunk@12013 -
2008-11-02 09:23:34 +00:00
florian
2c5ce2fe12 + support for TEST_ABI in the testsuite
+ arm-linux-eabi object files

git-svn-id: trunk@11918 -
2008-10-18 14:45:03 +00:00
micha
e630556397 * fix testsuite hostname to not use -s option; solaris hostname interprets this as new hostname
(in case of fqdn, cut off hostname ourself in Makefile)

git-svn-id: trunk@11385 -
2008-07-15 20:24:07 +00:00
Jonas Maebe
ccde1dc6ac * use $(TARPROG) rather than hardcoded tar (mantis #11658)
git-svn-id: trunk@11383 -
2008-07-15 12:08:54 +00:00
florian
f5d9a9d1b7 * empty tprocess command line results on windows now in the same exception as on unix
* some code unified

git-svn-id: trunk@11343 -
2008-07-07 18:41:10 +00:00
florian
88cfaf0a41 + added overload directive as requested by Paul
git-svn-id: trunk@10949 -
2008-05-12 09:15:39 +00:00
Tomas Hajny
05934cc49d * fix for running testsuite for GO32v2 by Giulio Bernardi
git-svn-id: trunk@10834 -
2008-04-28 14:39:34 +00:00
Jonas Maebe
3e9110531f * also test test/packages/hash
git-svn-id: trunk@10810 -
2008-04-26 21:34:44 +00:00
florian
8205f6c7b0 + infrastructure for tests depending on packages, by default, package tests are executed.
Setting QUICKTEST when calling the makefile disables package tests
* first tests moved

git-svn-id: trunk@10805 -
2008-04-26 20:20:26 +00:00