Commit Graph

632 Commits

Author SHA1 Message Date
tg74
d721bedd56 new test opcodes SSE scalar
git-svn-id: branches/tg74/avx512merge@43093 -
2019-09-29 19:58:20 +00:00
tg74
72c6d6d909 add new testcode ADDSS,ADDSD
git-svn-id: branches/tg74/avx512merge@43092 -
2019-09-29 19:29:06 +00:00
tg74
a2c4d868f4 bugfix 35700 xmmrm - zmmrm, mem32/64
git-svn-id: branches/tg74/avx512merge@42968 -
2019-09-09 14:44:04 +00:00
tg74
dc41dcd3d8 bugfix 35700 xmmrm - zmmrm, mem32/64
git-svn-id: branches/tg74/avx512merge@42959 -
2019-09-08 19:24:14 +00:00
pierre
5ed7bd35df Update all trunk/fpcsrc Makefile's after commit 42749
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
tg74
a5e158f8d6 cleanup
git-svn-id: branches/tg74/avx512merge@42724 -
2019-08-18 04:41:34 +00:00
florian
f9cd4c158a * improved readme.txt again
git-svn-id: branches/tg74/avx512@42649 -
2019-08-11 16:22:06 +00:00
florian
537c63bd83 * fixed a few merging issues
+ extended readme to explain avx tests can be run using GNU Parallel

git-svn-id: branches/tg74/avx512@42647 -
2019-08-11 16:05:19 +00:00
florian
f883dd6dbb Synchronized with trunk, part 2 (make all works, avx-512 support not yet tested, no regression testing yet)
git-svn-id: branches/tg74/avx512@42643 -
2019-08-10 19:38:35 +00:00
florian
746bfced25 Synchronized with trunk, part 1 (only make cycle tested, make all is broken, avx-512 support not yet tested
git-svn-id: branches/tg74/avx512@42642 -
2019-08-10 13:53:20 +00:00
Jonas Maebe
3a1fb45315 * synchronised with trunk till r41976
git-svn-id: branches/debug_eh@41977 -
2019-05-02 19:44:41 +00:00
pierre
b365fdd478 Fix compilation of testsuite program
git-svn-id: trunk@41959 -
2019-04-29 09:09:41 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
florian
4f0da5fcc3 + patch by Marģers to support the x86 assembler instructions blsi, blsr, blsmsk, adcx, adox, movbe, pclmulqdq, resolves #34815 and #34799
+ avxopcodes tests also movbe and pclmulqdq

git-svn-id: trunk@40951 -
2019-01-20 18:50:12 +00:00
florian
8c66e9a2eb + support for 16 bit registers
git-svn-id: trunk@40950 -
2019-01-20 18:50:10 +00:00
florian
fc7ecf3206 * usage example for linux
git-svn-id: trunk@40949 -
2019-01-20 18:50:09 +00:00
pierre
193df0204a Add x86_64-haiku target to some Makefile's
git-svn-id: trunk@40820 -
2019-01-09 22:43:56 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
9f32b99ea6 * dotest: When executing a remote test, prevent overwrite of the test's result and log by final cleanup commands.
git-svn-id: trunk@39911 -
2018-10-11 18:58:19 +00:00
tg74
1ef9cc01e6 avx512 disp8*N
git-svn-id: branches/tg74/avx512@39909 -
2018-10-09 21:19:52 +00:00
florian
40598944f8 + support fpc include output in avx test generation code
git-svn-id: trunk@39876 -
2018-10-07 10:10:20 +00:00
florian
8943c0584e + patch by J. Gareth Moreton to support BMI2 instructions
+ extended avx test generator with the newly added BMI2 instructions

git-svn-id: trunk@39875 -
2018-10-07 10:10:19 +00:00
florian
172384fedd * fix to write correct output file name
git-svn-id: trunk@39874 -
2018-10-07 10:10:17 +00:00
florian
5604e98b1c + lazarus project files for the avx assembler test generators
git-svn-id: trunk@39873 -
2018-10-07 10:10:16 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
d32494c3db Update all tests Makefile's
git-svn-id: trunk@39829 -
2018-09-27 07:09:38 +00:00
tg74
f0b6b6782b bugfix avx512 tests opcodes kmov...
git-svn-id: branches/tg74/avx512@39782 -
2018-09-21 05:24:59 +00:00
tg74
3dc25d8bee bugfix avx512 broadcast for special opcodes vcvt... tests
git-svn-id: branches/tg74/avx512@39780 -
2018-09-19 21:30:43 +00:00
tg74
8a7cee6294 avx512 broadcast tests
git-svn-id: branches/tg74/avx512@39777 -
2018-09-19 15:27:06 +00:00
tg74
6cb9474309 minor bugfixes avx512 tests
git-svn-id: branches/tg74/avx512@39767 -
2018-09-19 06:24:36 +00:00
tg74
b2dca8692f remove any gather/scatter opcodes tests
git-svn-id: branches/tg74/avx512@39746 -
2018-09-12 14:00:35 +00:00
tg74
608992ecf5 minor bugfixes avx512 tests
git-svn-id: branches/tg74/avx512@39740 -
2018-09-12 05:03:05 +00:00
tg74
c894768a65 bugfix avx512 tests
git-svn-id: branches/tg74/avx512@39738 -
2018-09-11 15:22:11 +00:00
tg74
637d44fd7c delete typecast for broadcast-operands
git-svn-id: branches/tg74/avx512@39730 -
2018-09-11 05:06:35 +00:00
tg74
9d17d3054e use typecast for mememory-operands (any opcodes vcvt...)
git-svn-id: branches/tg74/avx512@39729 -
2018-09-11 04:28:29 +00:00
pierre
382ac9c00a Add branches for 3.2.0, 3.2.1 and 3.3.1 versions
git-svn-id: trunk@39725 -
2018-09-10 13:28:33 +00:00
tg74
5224393bbb testfilenames lowercase
git-svn-id: branches/tg74/avx512@39723 -
2018-09-10 08:14:22 +00:00
tg74
38ab34978b new avx512 tests
git-svn-id: branches/tg74/avx512@39722 -
2018-09-10 07:58:47 +00:00
tg74
53e4b5451c new avx512 tests
git-svn-id: branches/tg74/avx512@39721 -
2018-09-10 07:47:25 +00:00
tg74
3bbb8ffc63 avxtestgenerator new testdata (vextract..)
git-svn-id: branches/tg74/avx512@39679 -
2018-08-28 15:12:44 +00:00
tg74
f14edb4d2e new tests for avx512 instructions
git-svn-id: branches/tg74/avx512@39640 -
2018-08-19 11:06:20 +00:00
marco
98f00acb06 * trunk to 3.3.1
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
pierre
f36ac3adbd Use GetProcessId number for UniqueSuffix if -L is used without parameter
git-svn-id: trunk@39390 -
2018-07-05 11:11:15 +00:00
pierre
cf8c5d2540 Report if ExitStatus of DosBox process is non-zero
git-svn-id: trunk@39197 -
2018-06-08 08:35:45 +00:00
pierre
be91b22d0f Fix compilation of dbconfig program
git-svn-id: trunk@39181 -
2018-06-05 22:10:20 +00:00
pierre
5f62a2063c Makefile regenerated
git-svn-id: trunk@39180 -
2018-06-05 21:40:32 +00:00
pierre
16963b7186 Add explict dependencies to used units
git-svn-id: trunk@39179 -
2018-06-05 21:39:44 +00:00
pierre
3d7d7a8b19 Change is_new local variable name to count_test, to reflect change in AddTestResult function
git-svn-id: trunk@39178 -
2018-06-05 21:38:50 +00:00
pierre
11c5f1f979 Change is_new parameter name to count_it, set it to true if new TestRes is different from previously in Database
git-svn-id: trunk@39177 -
2018-06-05 21:37:35 +00:00
pierre
b6e22a4757 Use old Copy procedure with 3 parameters
git-svn-id: trunk@39176 -
2018-06-05 21:36:12 +00:00
pierre
da8dc2b841 Correctly handle log files in root directory (from tests from packages directory)
git-svn-id: trunk@39175 -
2018-06-05 20:44:51 +00:00
pierre
8911709f36 Correct copy of files to temp directory and removal of temp directory
git-svn-id: trunk@38960 -
2018-05-09 15:17:40 +00:00
pierre
ee1a5843aa Avoid program RTE if failing to remove temporary directory
git-svn-id: trunk@38816 -
2018-04-22 22:18:27 +00:00
pierre
6060f474ed Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38754 -
2018-04-12 15:42:39 +00:00
pierre
3455c82b88 Always add dosbox/dosbox_wrapper to clean list
git-svn-id: trunk@38752 -
2018-04-12 15:39:57 +00:00
pierre
bd18d947bd Add .exe suffix to ASrcFileName if ADestFileName ends with .exe or if file is not found
git-svn-id: trunk@38742 -
2018-04-12 13:46:09 +00:00
pierre
2f927d896a Use auto instead of dynamic, as dynamic is not always possible
git-svn-id: trunk@38741 -
2018-04-12 13:44:14 +00:00
pierre
078ed0ec95 Fix range problems
git-svn-id: trunk@38703 -
2018-04-06 14:41:48 +00:00
pierre
ef36525e4b Add missing 3.0.2 and 3.0.4 releases
git-svn-id: trunk@38700 -
2018-04-06 13:31:38 +00:00
pierre
5368f1fbe9 Add handling of DelFiles
git-svn-id: trunk@38685 -
2018-04-04 21:27:36 +00:00
pierre
450f62efcc Move GetToken function to testu unit
git-svn-id: trunk@38684 -
2018-04-04 21:27:07 +00:00
pierre
33de492553 * Improve support in temporary directory.
+ CopyNeededFiles to copy additional files to temp directory.
  + TempFileList: New variable.
  * Cleanup: Use TempFileList to delete more file.
  + Add optional -Ssource_file_name directory.

git-svn-id: trunk@38683 -
2018-04-04 21:00:26 +00:00
pierre
a07b191847 Move several path related functions from dotest program to testu unit for use in dosbox_wrapper program
git-svn-id: trunk@38648 -
2018-03-30 07:59:14 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
svenbarth
c7df4d3d2f * implement support for copying a central, pre-created configuration file for a test
git-svn-id: trunk@36992 -
2017-08-20 20:23:50 +00:00
svenbarth
c9be061921 * put test files that are outside of the tests directory into a "root" subdirectory of tests
git-svn-id: trunk@36837 -
2017-08-04 13:49:02 +00:00
florian
4ce6575096 * rebuilt Makefile
git-svn-id: trunk@36738 -
2017-07-16 09:24:22 +00:00
pierre
1c4d1d2327 Search for cwsdpmi DOS exeutable in PATH if DOSBOX_NEEDS_CWSDPMI is set or TEST_OS_TARGET is go32v2 to allow testing go32v2 programs using DOSBOX
git-svn-id: trunk@36726 -
2017-07-11 18:07:43 +00:00
marcus
ee5096c2ec fpts2junit: fix compilation, remove non printable chars from xml text, cut big error texts to last 1000 chars
git-svn-id: trunk@36372 -
2017-05-30 20:36:16 +00:00
pierre
3a9ed7db72 Limit log size to 50000, and add all testrun information at start
git-svn-id: trunk@36317 -
2017-05-24 21:53:01 +00:00
pierre
87bb473780 Fix ExitCode readout if temp directory is used by postponing temp directory cleanup
git-svn-id: trunk@36313 -
2017-05-24 07:41:25 +00:00
pierre
eea65cd31f + Add UseSignals macro, which conditionally adds
code using signals unit to try to interrupt runaway executables
  + Global DosBoxProcess TProcess class variable.
  + Display modified lines  inside dosbox.conf if verbose
  * Try to use Terminate when program exceeds dosbox_timeout (in seconds)
  * Handle signals if UseSignals macro is set.

git-svn-id: trunk@36231 -
2017-05-16 20:56:29 +00:00
pierre
02eafd63c4 Add disablesplash=true
git-svn-id: trunk@36230 -
2017-05-16 20:51:36 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
Jonas Maebe
e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers)
git-svn-id: trunk@34598 -
2016-10-02 12:56:59 +00:00
pierre
f216c359bd Always consider Compilation raised exception internally as an Internal Error
git-svn-id: trunk@34419 -
2016-09-03 10:08:39 +00:00
pierre
a0713632a9 Consider a 'Compilation raised exception internally' without Fatal nor Error message as an InternalError
git-svn-id: trunk@34415 -
2016-09-02 21:25:46 +00:00
pierre
ef05e4cb49 Ensure '/' is used as directory separator to get same output as before
git-svn-id: trunk@34331 -
2016-08-18 11:43:56 +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
6a3466e81a + Also write 'Terminate requested...' to output, so that the
information gets into log files if output is redirected.
  * Add 1000 to ExitStatus if TerminateSentCount is > 0
    to allow better discrimination between inferior exitcode and
    stop due to Terminate use.

git-svn-id: trunk@34326 -
2016-08-17 09:52:02 +00:00
svenbarth
cdda4da2d3 * sort the paths alphabetically
git-svn-id: trunk@34319 -
2016-08-15 15:58:16 +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
ee3d204b72 * Files added in %FILES need to be copied to destination directory even if UniqueSuffix is empty, as execution directory is different from source directory
git-svn-id: trunk@34257 -
2016-08-08 14:49:36 +00:00
pierre
b3f1596a1d Also output parameters of called program when calling Terminate, useful when using emulator, to know which test does not finish
git-svn-id: trunk@34159 -
2016-07-19 17:22:39 +00:00
pierre
bf97137be4 Add aliases $nosharedlib,$nounicode,$nothread to SkipTarget TConfig field
git-svn-id: trunk@34075 -
2016-07-06 05:52:23 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
pierre
433da1b199 Add msdos and win16 to the list of target OS for which TargetHasDosStylesDirectories
git-svn-id: trunk@33830 -
2016-05-28 07:26:10 +00:00
pierre
78da04f8d5 + Add verbose boolean variable, set to false by default,
set to true by setting environment variable DOSBOX_VERBOSE.
  Most output generated by the wrapper is now only given if 
  verbose is true.
  + New constant SkipUntilText, default value 'Drive C is mounted as ',
  allow to discard output generated by dosbox program up to the line
  containing this string.

git-svn-id: trunk@33385 -
2016-03-30 07:42:35 +00:00
yury
a1b8c0f9e3 * Improved FPC version check when to use WaitOnExit().
git-svn-id: trunk@33301 -
2016-03-20 20:03:45 +00:00
florian
f780872069 + return exit code of executed program
git-svn-id: trunk@33219 -
2016-03-11 20:44:44 +00:00
florian
1cb91cc7bb * forgotten commit to redir.ExecuteProcess
git-svn-id: trunk@33001 -
2016-01-24 15:25:59 +00:00
florian
2e506ec4ac * Redir.ExecuteProcess uses TProcess.WaitFor with timeout for FPC > 3.0
git-svn-id: trunk@32992 -
2016-01-24 09:39:23 +00:00
pierre
7f0b676af1 Use Florian's suggestion to avoid IOStatus 5 errors in ExecuteProcess using process unit
git-svn-id: trunk@32975 -
2016-01-22 15:14:11 +00:00
pierre
8c5adb86cd * Add waiting time in case of access error on windows OS
git-svn-id: trunk@32952 -
2016-01-16 01:08:12 +00:00
pierre
c638559dc1 Add use of process unit for windows OS, allows to add a timeout for that host
git-svn-id: trunk@32951 -
2016-01-16 01:06:33 +00:00
pierre
57b3f31d92 cpu, os and version lists start at index 0
git-svn-id: trunk@32950 -
2016-01-16 01:04:30 +00:00
nickysn
77229a3cdf * dosbox timeout increased to 100 seconds
git-svn-id: trunk@32834 -
2016-01-03 11:54:45 +00:00
nickysn
283fd540da * increased the default dosbox timeout to 90 seconds
git-svn-id: trunk@32761 -
2015-12-27 12:43:01 +00:00
nickysn
55a38bf895 * increased the default dosbox timeout to 60 seconds
git-svn-id: trunk@32697 -
2015-12-22 10:01:13 +00:00
nickysn
61d76e837f + support specifying the dosbox timeout (the maximal amount of time a test is
allowed to run, before dosbox is killed) via the DOSBOX_TIMEOUT environment
  variable

git-svn-id: trunk@32696 -
2015-12-22 00:05:39 +00:00
nickysn
52402032ae * handle exceptions when opening the exitcode.txt file as well, so that we write
a nicer message to stdout in case the file does not exist (which happens often
  when we kill dosbox, due to a timeout)

git-svn-id: trunk@32679 -
2015-12-18 01:43:24 +00:00
nickysn
6f490cc6b3 * write a message to stdout if dosbox is killed due to a timeout
git-svn-id: trunk@32678 -
2015-12-18 01:40:22 +00:00
nickysn
1d015b9620 * fixed dosbox_wrapper compilation under windows
git-svn-id: trunk@32628 -
2015-12-10 14:47:31 +00:00
pierre
d3d78e6367 Regenerate after: Add dosbox/dosbox_wrapper to list of programs if EMULATOR variable contains dosbox_wrapper string pattern
git-svn-id: trunk@32626 -
2015-12-10 01:51:37 +00:00
pierre
f6133d4417 Add dosbox/dosbox_wrapper to list of programs if EMULATOR variable contains dosbox_wrapper string pattern
git-svn-id: trunk@32625 -
2015-12-10 01:51:15 +00:00
pierre
0bf3b2201d Change 'exit' to '' to allow to avoid exit at the end of test run
git-svn-id: trunk@32624 -
2015-12-10 01:49:37 +00:00
pierre
1e38631cbe + (OutputFileName variable): Add possibility to use output duplicated to a file by a modified dosbox
version, using an entry in [dos] section of dosbox.conf cinfig file.
  copy_con_to_file=/path/to/file/that/will/get/the/copy
  + (EchoOutput procedure) Write to ouput the content of this file so that it ends up into XXXX.elg file
  when checking test file XXXX.
  * Add use_temp_dir boolean variable, set to true by default, can be set to false by
  setting DOSBOX_NO_TEMPDIR env. variable.
  + Add hide_execution boolean variable (might only work on Windows),
  which sets SWOHide to Process.ShowWindow property if true.
  hide_execution defaults to true, but can be set to true by setting
  DOSBOX_NO_HIDE to set to false.
  + Add do_exit boolean variable (defaulting to true), which adds
  'exit' as last line into autoexec section in dosbox.conf.
  Use DOSBOX_NO_EXIT to avoid automatic closing of DosBox at the end of test
  execution (can bbe useful for debugging purposes).

git-svn-id: trunk@32623 -
2015-12-10 01:48:18 +00:00
nickysn
9f79eeff0e * on Windows, run dosbox with the swoHIDE option to prevent the annoying focus
stealing dosbox consoles from appearing

git-svn-id: trunk@32622 -
2015-12-09 15:56:23 +00:00
pierre
11d5f6a88b Add explicit rule to compile dosbox_wrapper, executable is put in utils/dosbox directory
git-svn-id: trunk@32614 -
2015-12-07 22:54:02 +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
pierre
854d04bb46 Fix missing aarch64 CPU in ShowHistory for one test
git-svn-id: trunk@32096 -
2015-10-19 14:47:50 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Jonas Maebe
f4a580d669 * don't fail if multiple dotests try to create the same directory in parallel
git-svn-id: trunk@30220 -
2015-03-14 18:36:37 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
pierre
a02344e978 Restore default for OS and CPU to All ID and increase max size of comboBox to 100
git-svn-id: trunk@29672 -
2015-02-11 21:51:53 +00:00
Jonas Maebe
ff25f5c923 * set DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH on Darwin
git-svn-id: trunk@29586 -
2015-01-30 19:31:28 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
pierre
788c6a6f83 Do not call Free if constructor failed
git-svn-id: trunk@29298 -
2014-12-14 22:14:00 +00:00
pierre
ddf1a3ea76 Set filemode to READ_ONLY for CopyFile source and correct error in previous commit
git-svn-id: trunk@29273 -
2014-12-12 16:27:40 +00:00
pierre
5240a309e0 Retry opening using read only mode for input file in CopyFile function, never generate an error
git-svn-id: trunk@29272 -
2014-12-12 14:43:58 +00:00
pierre
42b3a51333 * Try to call tarwriter.addfile multiple times
in case of failure.
  Output default '###File Open failed###' string if failed 5 times
  Write out error message at exit.
  Fail only if primary file log, dbdigest.cfg or longlog writing failed.

git-svn-id: trunk@29271 -
2014-12-12 14:16:32 +00:00
pierre
43213dc637 Change AddFile method from procedure to boolean function
git-svn-id: trunk@29269 -
2014-12-12 13:55:26 +00:00
Tomas Hajny
8adacb096e * do not call mkdir with trailing directory separator and do not silently ignore errors in MkDir
git-svn-id: trunk@28816 -
2014-10-13 21:51:03 +00:00
Tomas Hajny
f33c59376a * native os/2 implementation without using shell redirection
git-svn-id: trunk@28815 -
2014-10-13 16:41:46 +00:00
florian
8635894de4 * merged new changes to avx2 branch (AVX2 vectory-memory support) by Torsten Grundke
git-svn-id: trunk@28527 -
2014-08-27 21:06:23 +00:00
pierre
17ad136412 Remove warning of misplaced <P> marker, as noticed by html checker
git-svn-id: trunk@28467 -
2014-08-19 11:34:05 +00:00
michael
77f62cafbe * Fix range check error
git-svn-id: trunk@28456 -
2014-08-18 22:15:40 +00:00
michael
81ab999a89 * Rollback in try..except
git-svn-id: trunk@28455 -
2014-08-18 22:15:18 +00:00
michael
c668e4d724 * Separate treatment of verbose option
git-svn-id: trunk@28454 -
2014-08-18 22:14:45 +00:00
michael
292ab82fc5 * More PG fixes
git-svn-id: trunk@28453 -
2014-08-18 22:14:09 +00:00
michael
5fa452d42f * Fixed stringreplace in EscapeSQL
git-svn-id: trunk@28452 -
2014-08-18 22:11:13 +00:00
michael
fee1632b42 * SQL in separate verbosity level
git-svn-id: trunk@28448 -
2014-08-18 21:06:23 +00:00
pierre
4ffd60879a Avoid error in html checker about non-encoded ampersand
git-svn-id: trunk@28430 -
2014-08-17 10:25:48 +00:00
pierre
fad718c6a6 Add 2.6.4 and 2.6.5 branches and fix fisplay of boolean test source options
git-svn-id: trunk@28429 -
2014-08-17 10:19:34 +00:00
michael
7ceda16e13 * True and false differ on PG
git-svn-id: trunk@28408 -
2014-08-14 16:56:11 +00:00
michael
504da18b57 * Fix use of "
git-svn-id: trunk@28407 -
2014-08-14 16:53:51 +00:00
michael
10ed2e7838 * Fix use of "
git-svn-id: trunk@28406 -
2014-08-14 16:47:37 +00:00
michael
1d3aa63620 * Create transaction
git-svn-id: trunk@28405 -
2014-08-14 16:32:36 +00:00
michael
d368032132 * Test removed
git-svn-id: trunk@28362 -
2014-08-10 16:12:56 +00:00
michael
7f5bdbbf2f * Test
git-svn-id: trunk@28361 -
2014-08-10 16:12:45 +00:00
michael
32f74d23f1 * Move to postgresql
git-svn-id: trunk@28359 -
2014-08-10 14:58:11 +00:00
michael
dc17b7ef46 * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27757 -
2014-05-10 15:56:37 +00:00
florian
23ab30c1f8 - removes accidently commited comments for testing
git-svn-id: trunk@27228 -
2014-03-22 17:03:39 +00:00
florian
3b14b28161 + support for FASM output, using it for testing does not work though, see readme.txt
git-svn-id: trunk@27227 -
2014-03-22 17:02:19 +00:00
florian
a79be2b05c + support for FMA instructions in inline assembler
+ extended avx test code with FMA

git-svn-id: trunk@27209 -
2014-03-20 20:06:56 +00:00
florian
aa107b914c * merged avx2 branch, developed by Torsten Grundke
git-svn-id: trunk@27200 -
2014-03-20 12:03:52 +00:00
Jonas Maebe
4f1207f603 + support for specifying an optional command line parameter to use during a
recompile of a test

git-svn-id: trunk@26955 -
2014-03-04 19:42:35 +00:00
yury
73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
florian
0ea0b5c34d * quote parameters
git-svn-id: trunk@26584 -
2014-01-26 11:40:46 +00:00
pierre
a7a9a74f91 Try to become HTML 4 transitional compliant and add svn links
git-svn-id: trunk@26384 -
2014-01-04 21:16:01 +00:00
pierre
62bcc3a2c5 Program cleaned up
git-svn-id: trunk@26382 -
2014-01-04 21:12:34 +00:00
pierre
7adeb480e1 Remove GetTestRunHistoryID, replaced by GetTestNextRunHistoryID and GetTestPreviousHistoryID
git-svn-id: trunk@26381 -
2014-01-04 21:11:23 +00:00
pierre
166ab46317 Add missing SqlDate calls inside InsertNewTestConfigId
git-svn-id: trunk@26380 -
2014-01-04 21:07:44 +00:00
pierre
a0747f4d5d Also update TESTCONFIG and TESTRUNHISTORY tables
git-svn-id: trunk@26218 -
2013-12-11 12:33:45 +00:00
pierre
218adfe6c3 * Allow compilation for windows OS.
* soHost -> coHost to be consistent with other TConfigOpt values.
  * ConfigOpts rewritten to have corresponding coXXX constants in comments
  + Add support for long options
  * Go past first >>>> line in longlog file to avoid warning

git-svn-id: trunk@26217 -
2013-12-11 12:27:17 +00:00
pierre
360f53b742 Add -ll option to use longlog file
git-svn-id: trunk@26216 -
2013-12-11 12:21:10 +00:00
pierre
80c67337ed Move GetTestRunHistoryID and AddTestHistoryEntry to dbtests unit
git-svn-id: trunk@26211 -
2013-12-10 13:22:20 +00:00
pierre
a5ea0d2b4c Add dbconfig program to handle TESTCONFIG table
git-svn-id: trunk@26209 -
2013-12-10 08:48:08 +00:00
pierre
bd91a8da7e Force SrcExeExt for prog parameter in ExecuteRemote function
git-svn-id: trunk@26208 -
2013-12-10 08:41:30 +00:00
pierre
85f138b409 + Add StringQuery and InsertQuery functions.
* Call FreeQueryResults if TQueryResult is discarded.

git-svn-id: trunk@26207 -
2013-12-10 08:37:39 +00:00
pierre
0987129993 Add 2.6.0 to 2.6.3 versions
git-svn-id: trunk@26206 -
2013-12-10 08:31:58 +00:00
pierre
cf175b28d1 Add TU_COMPILERDATE to ShowRunData
git-svn-id: trunk@26205 -
2013-12-10 08:27:13 +00:00
Károly Balogh
eb8858933d added a simple optional utility to convert FP Testsuite results to JUnit.XML format
git-svn-id: trunk@25915 -
2013-11-02 20:39:11 +00:00
nickysn
1bea98995b * regenerated fpcmake makefiles after r25642
git-svn-id: trunk@25644 -
2013-10-05 10:11:27 +00:00
pierre
58497ff016 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24374 -
2013-04-29 12:48:51 +00:00
pierre
114d8e4507 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24370 -
2013-04-29 12:39:52 +00:00
florian
0e41df598e * merge i8086 branch by Nikolay Nikolov
git-svn-id: trunk@24324 -
2013-04-25 20:23:51 +00:00
nickysn
f84fc17edc + implemented a timeout in the dosbox wrapper, so that we don't wait forever if a test hangs
git-svn-id: branches/i8086@24222 -
2013-04-10 13:44:30 +00:00
nickysn
e76cee64cc * dosbox_wrapper made to add automatically .exe to the file name, if it is missing
git-svn-id: branches/i8086@24134 -
2013-04-03 00:13:55 +00:00
nickysn
59dd5ee1d0 + dosbox wrapper script replaced with a pascal implementation that is multiplatform and supports being run in multiple instances
git-svn-id: branches/i8086@24133 -
2013-04-02 17:24:05 +00:00
nickysn
8a1178e4e9 * regenerated makefiles
git-svn-id: branches/i8086@24114 -
2013-04-01 17:30:11 +00:00
florian
74880f639a * msdos is a 8.3 target as well
git-svn-id: branches/i8086@24097 -
2013-03-31 19:20:20 +00:00
nickysn
3d6dbfe1f7 * regenerated the testsuite makefiles with the new fpcmake, which supports i8086-msdos
git-svn-id: branches/i8086@24093 -
2013-03-31 17:12:13 +00:00
nickysn
8cf0f5db89 + a very quick and dirty script for running tests in dosbox and passing the exit code back
git-svn-id: branches/i8086@24087 -
2013-03-31 01:04:43 +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
e88bc322bc + Merge the targetandroid branch. Support for arm and i386 android targets.
***************************************************************************

Revision: 23518
Author: yury
Date: 25 Jan 2013 0:14:31
Message:
* Build databases support for Android.
----
Modified : /branches/targetandroid/packages/dblib/fpmake.pp
Modified : /branches/targetandroid/packages/fcl-db/fpmake.pp

Revision: 23516
Author: yury
Date: 24 Jan 2013 23:08:12
Message:
* again made less complex for arm and sparc so it compiles there too without running out of registers.
----
Modified : /branches/targetandroid/tests/webtbs/tw2242.pp

Revision: 23515
Author: yury
Date: 24 Jan 2013 23:01:36
Message:
* Disabled the test for Android.
----
Modified : /branches/targetandroid/tests/webtbs/tw4038.pp

Revision: 23514
Author: yury
Date: 24 Jan 2013 22:32:39
Message:
* Disabled the test for Android.

----
Modified : /branches/targetandroid/tests/test/packages/webtbs/tw14265.pp

Revision: 23512
Author: yury
Date: 24 Jan 2013 12:30:07
Message:
* Allow passing of double quoted paths in TEST_OPT.
----
Modified : /branches/targetandroid/tests/Makefile
Modified : /branches/targetandroid/tests/Makefile.fpc

Revision: 23511
Author: yury
Date: 24 Jan 2013 12:29:01
Message:
* Fixed building of packages when cross-testing. Pass CROSSOPT to build packages in such case, otherwise options specified in TEST_OPT are used to build fpmake. The source compiler not always accepts target options. For example -Cfsoft option, often used for arm compiler, is not accepted by x86 compiler.
----
Modified : /branches/targetandroid/tests/tstunits/Makefile
Modified : /branches/targetandroid/tests/tstunits/Makefile.fpc

Revision: 23497
Author: yury
Date: 22 Jan 2013 19:10:54
Message:
* Reverted r23400 and r23401. Tomas has promised to commit more correct fix to trunk.
----
Modified : /branches/targetandroid/rtl/inc/fexpand.inc
Modified : /branches/targetandroid/tests/test/units/dos/tfexpand.pp

Revision: 23496
Author: yury
Date: 22 Jan 2013 19:05:51
Message:
* Disabled the test for Android.
----
Modified : /branches/targetandroid/tests/webtbs/tw0876.pp

Revision: 23495
Author: yury
Date: 22 Jan 2013 18:58:30
Message:
* Add %delfiles for proper clean-up.
----
Modified : /branches/targetandroid/tests/tbs/tb0582.pp
Modified : /branches/targetandroid/tests/test/tweaklib2.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704b.pp
Modified : /branches/targetandroid/tests/webtbs/tw13628b.pp
Modified : /branches/targetandroid/tests/webtbs/tw14798.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949b.pp
Modified : /branches/targetandroid/tests/webtbs/tw2812.pp
Modified : /branches/targetandroid/tests/webtbs/tw3082.pp
Modified : /branches/targetandroid/tests/webtbs/tw3402.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6822b.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730d.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089c.pp

Revision: 23492
Author: yury
Date: 22 Jan 2013 16:43:42
Message:
* Turn off special handling of interrupt calling convention for i386-android.
----
Modified : /branches/targetandroid/compiler/i386/n386cal.pas
Modified : /branches/targetandroid/compiler/x86/cgx86.pas

Revision: 23491
Author: yury
Date: 22 Jan 2013 16:34:32
Message:
* Added %delfiles for proper clean-up.
----
Modified : /branches/targetandroid/tests/test/targ1b.pp
Modified : /branches/targetandroid/tests/test/tlib1b.pp
Modified : /branches/targetandroid/tests/test/tlib2b.pp
Modified : /branches/targetandroid/tests/test/tlibrary2.pp
Modified : /branches/targetandroid/tests/test/tlibrary3.pp
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23490
Author: yury
Date: 22 Jan 2013 16:28:00
Message:
* These libs are for tests, that run only on windows. Mark libs for windows only as well.

----
Modified : /branches/targetandroid/tests/test/library/tlib3a.pp
Modified : /branches/targetandroid/tests/test/library/tlib3b.pp

Revision: 23489
Author: yury
Date: 22 Jan 2013 16:18:56
Message:
* Do not copy a library to a remote target if this library name is specified using %DELFILES directive.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23488
Author: yury
Date: 22 Jan 2013 15:47:52
Message:
* Implemented { %DELFILES file1 file2 ... } directive for tests. Primarily it is needed to delete shared libraries used by tests when TEST_DELTEMP=1. When testing on a real Android device, it is not good to run tests on flash memory partitions. Android devices have 1Mb RAM based tempfs partition for /tmp folder, which is ideal for running tests. Since 1Mb is very small size these days, it is needed to clean all test leftovers. Test shared libraries are the biggest leftovers and this new DELFILES directive will help to delete them.
* During remote execution, use && as a command separator after important commands such as CD to ensure that the command succeeded before running other commands. Group other commands using curly braces { }.
----
Modified : /branches/targetandroid/tests/readme.txt
Modified : /branches/targetandroid/tests/utils/dotest.pp
Modified : /branches/targetandroid/tests/utils/testu.pp

Revision: 23487
Author: yury
Date: 22 Jan 2013 13:16:22
Message:
* Define CExtended and clongdouble as double for Android.
----
Modified : /branches/targetandroid/compiler/psystem.pas
Modified : /branches/targetandroid/rtl/inc/ctypes.pp

Revision: 23486
Author: yury
Date: 22 Jan 2013 13:14:36
Message:
* Fixed compilation for case when extended <> cextended.
----
Modified : /branches/targetandroid/tests/test/cg/tcalext6.pp

Revision: 23485
Author: yury
Date: 22 Jan 2013 12:41:43
Message:
* More correct comparison of long double values for case when long double=double in C.
----
Modified : /branches/targetandroid/tests/test/cg/tcalext.pp

Revision: 23484
Author: yury
Date: 22 Jan 2013 11:53:41
Message:
* Do not pass -f switch for rm when testing via adb, since default android shell do not support -f switch.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23483
Author: yury
Date: 22 Jan 2013 11:47:31
Message:
* Added ICU version of Android 4.1.
* Increment by 2 when finding an unknown ICU version.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23479
Author: yury
Date: 21 Jan 2013 14:29:40
Message:
* Add define for android.
----
Modified : /branches/targetandroid/tests/test/cg/tcalcst6.pp
Modified : /branches/targetandroid/tests/test/cg/tcalvar6.pp

Revision: 23478
Author: yury
Date: 21 Jan 2013 14:22:06
Message:
+ Added C object files for android-i386.
----
Added : /branches/targetandroid/tests/test/cg/obj/android/i386
Modified : /branches/targetandroid/tests/test/cg/obj/readme.txt

Revision: 23477
Author: yury
Date: 21 Jan 2013 14:08:25
Message:
* Add missing checks for android target.
----
Modified : /branches/targetandroid/compiler/aasmdata.pas
Modified : /branches/targetandroid/compiler/aggas.pas
Modified : /branches/targetandroid/compiler/expunix.pas
Modified : /branches/targetandroid/compiler/ncgld.pas
Modified : /branches/targetandroid/compiler/ogelf.pas
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/x86/agx86att.pas
Modified : /branches/targetandroid/compiler/x86/cgx86.pas
Modified : /branches/targetandroid/compiler/x86/rax86.pas

Revision: 23475
Author: yury
Date: 21 Jan 2013 13:51:09
Message:
* Set android-i368 stack alignment to 16.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23474
Author: yury
Date: 21 Jan 2013 13:45:29
Message:
* Removed -z relro linker option, since it causes problems.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23451
Author: yury
Date: 19 Jan 2013 1:32:26
Message:
* Pass some security switches to LD. They are passed by GCC.
* Removed unused function.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23450
Author: yury
Date: 19 Jan 2013 1:27:45
Message:
* Fixed file description.
----
Modified : /branches/targetandroid/rtl/android/arm/dllprt0.as

Revision: 23449
Author: yury
Date: 19 Jan 2013 1:27:02
Message:
* Simplify arm startup code.
----
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23448
Author: yury
Date: 19 Jan 2013 1:25:58
Message:
* Fixed file description.
----
Modified : /branches/targetandroid/rtl/android/i386/dllprt0.as
Modified : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 23447
Author: yury
Date: 19 Jan 2013 1:19:29
Message:
* Rewrite initialization code for i386-android. i386-android works.
----
Modified : /branches/targetandroid/rtl/android/i386/dllprt0.as
Modified : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 23441
Author: yury
Date: 18 Jan 2013 16:51:09
Message:
* Add android to supported targets for assemblers. It fixes assembling for i386-android.
----
Modified : /branches/targetandroid/compiler/arm/agarmgas.pas
Modified : /branches/targetandroid/compiler/i386/cpuelf.pas
Modified : /branches/targetandroid/compiler/x86/agx86att.pas

Revision: 23435
Author: yury
Date: 18 Jan 2013 0:46:23
Message:
* Enable safecall exception handling for arm-android.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23434
Author: yury
Date: 18 Jan 2013 0:28:59
Message:
* Removed leftover from my experiments (calling directly pascal main).
----
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23433
Author: yury
Date: 17 Jan 2013 23:43:09
Message:
* Uses SysUtils to make executable bigger. Otherwise string pointers for FindResource can be less than $10000. They are treated as IDs in such case and the test will fail.
----
Modified : /branches/targetandroid/tests/test/units/system/tres.pp

Revision: 23429
Author: yury
Date: 17 Jan 2013 18:49:23
Message:
* Thread safety.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23427
Author: yury
Date: 17 Jan 2013 14:48:03
Message:
* Skip this test for android.
----
Modified : /branches/targetandroid/tests/test/textthr.pp

Revision: 23426
Author: yury
Date: 17 Jan 2013 14:21:51
Message:
* Fixed ifdefs linux to unix.
----
Modified : /branches/targetandroid/tests/test/tstring10.pp
Modified : /branches/targetandroid/tests/test/units/classes/tsetstream.pp
Modified : /branches/targetandroid/tests/test/units/dos/tdos.pp
Modified : /branches/targetandroid/tests/test/units/dos/tidos.pp

Revision: 23425
Author: yury
Date: 17 Jan 2013 14:20:56
Message:
* Enable more tests for android.
----
Modified : /branches/targetandroid/tests/test/packages/webtbs/tw14265.pp
Modified : /branches/targetandroid/tests/test/testfpuc.pp
Modified : /branches/targetandroid/tests/test/textthr.pp
Modified : /branches/targetandroid/tests/test/tlib2a.pp
Modified : /branches/targetandroid/tests/test/tlib2b.pp
Modified : /branches/targetandroid/tests/test/tpoll.pp
Modified : /branches/targetandroid/tests/test/tsafecall1.pp
Modified : /branches/targetandroid/tests/test/tsafecall2.pp
Modified : /branches/targetandroid/tests/test/tsafecall3.pp
Modified : /branches/targetandroid/tests/test/tsafecall4.pp
Modified : /branches/targetandroid/tests/test/units/system/tres.pp
Modified : /branches/targetandroid/tests/test/units/system/tres2.pp
Modified : /branches/targetandroid/tests/test/units/system/tres3.pp

Revision: 23424
Author: yury
Date: 17 Jan 2013 14:02:35
Message:
* Fixed AnsiStrLComp() and AnsiStrLIComp().
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23423
Author: yury
Date: 17 Jan 2013 13:49:55
Message:
* Fixed stupid copy-paste error.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23409
Author: yury
Date: 16 Jan 2013 16:46:02
Message:
* Fixed conflict of native android and java android targets.
----
Modified : /branches/targetandroid/utils/fpcm/fpcmake.inc
Modified : /branches/targetandroid/utils/fpcm/fpcmake.ini

Revision: 23406
Author: yury
Date: 16 Jan 2013 15:33:50
Message:
* Set stackalign field.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas

Revision: 23404
Author: yury
Date: 16 Jan 2013 12:57:51
Message:
* Enable more tests for android.
----
Modified : /branches/targetandroid/tests/webtbs/tw0876.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704a.pp
Modified : /branches/targetandroid/tests/webtbs/tw12704b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263a.pp
Modified : /branches/targetandroid/tests/webtbs/tw16263b.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949a.pp
Modified : /branches/targetandroid/tests/webtbs/tw16949b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586a.pp
Modified : /branches/targetandroid/tests/webtbs/tw6586b.pp
Modified : /branches/targetandroid/tests/webtbs/tw6822c.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838a.pp
Modified : /branches/targetandroid/tests/webtbs/tw7838b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730a.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730b.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730c.pp
Modified : /branches/targetandroid/tests/webtbs/tw8730d.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089a.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089b.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089c.pp
Modified : /branches/targetandroid/tests/webtbs/tw9089d.pp
Modified : /branches/targetandroid/tests/webtbs/uw2364.pp

Revision: 23402
Author: yury
Date: 16 Jan 2013 12:50:52
Message:
* Use collation when comparing strings.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23401
Author: yury
Date: 16 Jan 2013 12:41:32
Message:
* If there is no HOME directory, the current dir must be used.
----
Modified : /branches/targetandroid/tests/test/units/dos/tfexpand.pp

Revision: 23400
Author: yury
Date: 16 Jan 2013 12:40:25
Message:
* Fixed expanding ~ if there is no HOME env var set.
----
Modified : /branches/targetandroid/rtl/inc/fexpand.inc

Revision: 23391
Author: yury
Date: 15 Jan 2013 14:12:56
Message:
* Make sure that the thread has been started, before destroying the event.
----
Modified : /branches/targetandroid/tests/test/tbrtlevt.pp

Revision: 23390
Author: yury
Date: 15 Jan 2013 13:55:24
Message:
* Do not use DOS code pages for Android. Now all CP string tests pass on Android.
----
Modified : /branches/targetandroid/tests/test/tcpstr17.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcat3.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcatmulti.pp
Modified : /branches/targetandroid/tests/test/tcpstrconcatmulti2.pp

Revision: 23389
Author: yury
Date: 15 Jan 2013 13:53:50
Message:
* Use more common code pages 1251 and 1252 instead of old DOS code pages (not available on Android). There is Euro symbol character that has different code in 1251 and 1252 code pages. Use it for tests.
----
Modified : /branches/targetandroid/tests/test/tcpstr1.pp
Modified : /branches/targetandroid/tests/test/tcpstransistrcompare.pp
Modified : /branches/targetandroid/tests/test/tcpstransistrcompareequal.pp

Revision: 23386
Author: yury
Date: 15 Jan 2013 10:22:30
Message:
* Skip 2 tests for android, since they require local execution.
----
Modified : /branches/targetandroid/tests/test/tcpstr19.pp
Modified : /branches/targetandroid/tests/test/tcpstr9.pp

Revision: 23385
Author: yury
Date: 15 Jan 2013 10:20:43
Message:
* Fixed running library tests on android.
----
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 23382
Author: yury
Date: 14 Jan 2013 16:20:44
Message:
* Implemented Unicode string manager for Android. It uses ICU library libicuuc.so. Note: ICU on Android has limited number of code pages. So don't expect support for DOS code pages or other exotic code pages.
----
Modified : /branches/targetandroid/rtl/android/cwstring.pp

Revision: 23301
Author: yury
Date: 2 Jan 2013 20:47:09
Message:
* I've found that libc on Android does not implement widechar case functions such as towupper(). Such functions are just wrappers over regular char functions. Therefore the whole cwstring unit is useless for Android. For now I've added stub cwstring unit for Android and reverted all Android specific changes in unix/cwstring.pp. Later, Unicode manager for Androud should be implemented using libicuuc, which is default Android lib.
----
Added : /branches/targetandroid/rtl/android/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/cwstring.pp

Revision: 23299
Author: yury
Date: 2 Jan 2013 19:38:08
Message:
* Android does not have libiconv, so don't use it in cwstring unit. For now support only UTF-8 code page in ansistrings. Later it is possible to use libicuuc for code page conversions on Android.
----
Modified : /branches/targetandroid/rtl/unix/cwstring.pp

Revision: 23298
Author: yury
Date: 2 Jan 2013 17:41:36
Message:
* Added uuchar unit to build for android.
----
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc

Revision: 23289
Author: yury
Date: 2 Jan 2013 2:53:36
Message:
* Always specify dynamic linker name for executables.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23288
Author: yury
Date: 2 Jan 2013 2:04:41
Message:
* Updated Makefile
----
Modified : /branches/targetandroid/rtl/android/Makefile

Revision: 23287
Author: yury
Date: 2 Jan 2013 2:03:42
Message:
* cprt0.as is not needed, since we link to libc always.
----
Modified : /branches/targetandroid/rtl/android/Makefile.fpc

Revision: 23286
Author: yury
Date: 2 Jan 2013 2:01:43
Message:
* cprt0.as is not needed, since we link to libc always.
----
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Deleted : /branches/targetandroid/rtl/android/arm/cprt0.as
Deleted : /branches/targetandroid/rtl/android/i386/cprt0.as

Revision: 23285
Author: yury
Date: 2 Jan 2013 1:59:48
Message:
* libctype is not needed, since only bionic is supported anyway.
----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 23284
Author: yury
Date: 2 Jan 2013 1:49:12
Message:
* Rework of Android startup code. It is needed to always link to libc on android to implement finalization and environment variables in shared libraries.
* Cleanup of Android linker.
* Use only INSERT command in the linker script to inject custom .fpc sections. Whole linker script duplication is nor needed anymore.
* Use BFD linker, since GOLD linker does not support INSERT command. Other incompatibilities may also exist.
* Enable tf_smartlink_sections for i386-android.
* i386-android is broken after this commit. Will be fixed later.
----
Modified : /branches/targetandroid/compiler/systems/i_android.pas
Modified : /branches/targetandroid/compiler/systems/t_android.pas
Modified : /branches/targetandroid/rtl/android/arm/dllprt0.as
Modified : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 23283
Author: yury
Date: 2 Jan 2013 1:48:07
Message:
* Enable weak externals for android.
----
Modified : /branches/targetandroid/compiler/systems.pas

Revision: 23236
Author: yury
Date: 28 Dec 2012 12:42:27
Message:
* Oops, wrong commit r23235. Reverted. Now correct: Fixed lineinfo for Android.
----
Modified : /branches/targetandroid/rtl/inc/exeinfo.pp
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23235
Author: yury
Date: 28 Dec 2012 11:38:04
Message:
* Fixed lineinfo for Android.
----
Modified : /branches/targetandroid/tests/test/units/sysutils/texec2.pp

Revision: 23232
Author: yury
Date: 27 Dec 2012 22:52:26
Message:
* Fixed the test for android.
----
Modified : /branches/targetandroid/tests/test/units/dos/tdos2.pp

Revision: 23231
Author: yury
Date: 27 Dec 2012 22:51:32
Message:
+ Added C object files for arm-android.
----
Added : /branches/targetandroid/tests/test/cg/obj/android
Added : /branches/targetandroid/tests/test/cg/obj/android/arm
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/cpptcl1.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/cpptcl2.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/ctest.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext3.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext4.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext5.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm/tcext6.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/cpptcl1.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/cpptcl2.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/ctest.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext3.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext4.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext5.o
Added : /branches/targetandroid/tests/test/cg/obj/android/arm-eabi/tcext6.o

Revision: 23226
Author: yury
Date: 27 Dec 2012 10:17:06
Message:
* Support for running tests on a remote Android device using ADB.
----
Modified : /branches/targetandroid/tests/Makefile
Modified : /branches/targetandroid/tests/Makefile.fpc
Modified : /branches/targetandroid/tests/readme.txt
Modified : /branches/targetandroid/tests/tstunits/Makefile
Modified : /branches/targetandroid/tests/utils/dotest.pp

Revision: 22048
Author: tom_at_work
Date: 9 Aug 2012 17:13:51
Message:
re-apply the changes of r22045 to correct files after recent revert
----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Added : /branches/targetandroid/rtl/android/i386
Added : /branches/targetandroid/rtl/android/i386/cprt0.as
Added : /branches/targetandroid/rtl/android/i386/dllprt0.as
Added : /branches/targetandroid/rtl/android/i386/prt0.as

Revision: 22047
Author: tom_at_work
Date: 9 Aug 2012 16:57:34
Message:
- revert r22045: applied changes to wrong files, i.e. linux system files, instead of android ones
----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Modified : /branches/targetandroid/rtl/linux/i386/cprt0.as
Added : /branches/targetandroid/rtl/linux/i386/cprt21.as
Added : /branches/targetandroid/rtl/linux/i386/gprt21.as

Revision: 22045
Author: tom_at_work
Date: 9 Aug 2012 11:05:38
Message:
Made cprt0 startup files to compile. Static executables using them likely do not work though.
Removed obsolete startup files (?prt21*).

----
Modified : /branches/targetandroid/rtl/android/arm/cprt0.as
Modified : /branches/targetandroid/rtl/linux/i386/cprt0.as
Deleted : /branches/targetandroid/rtl/linux/i386/cprt21.as
Deleted : /branches/targetandroid/rtl/linux/i386/gprt21.as

Revision: 22044
Author: tom_at_work
Date: 9 Aug 2012 11:00:16
Message:
Updated systems/t_android to only recognize the "bionic" libc as valid libc.
Fix uninitialized defdynlinker variable when compiling i386-android causing garbage in the linker script.

----
Modified : /branches/targetandroid/compiler/systems/t_android.pas

Revision: 21296
Author: tom_at_work
Date: 15 May 2012 0:14:12
Message:
* basic android/x86 support
----
Modified : /branches/targetandroid/Makefile
Modified : /branches/targetandroid/compiler/Makefile
Modified : /branches/targetandroid/compiler/i386/cputarg.pas
Modified : /branches/targetandroid/compiler/systems/i_android.pas
Modified : /branches/targetandroid/compiler/systems/t_android.pas
Modified : /branches/targetandroid/compiler/systems.inc
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/utils/Makefile
Modified : /branches/targetandroid/compiler/utils/ppudump.pp
Modified : /branches/targetandroid/ide/Makefile
Modified : /branches/targetandroid/ide/compiler/Makefile
Modified : /branches/targetandroid/installer/Makefile
Modified : /branches/targetandroid/packages/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile
Modified : /branches/targetandroid/rtl/Makefile
Modified : /branches/targetandroid/rtl/aix/Makefile
Modified : /branches/targetandroid/rtl/amiga/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Modified : /branches/targetandroid/rtl/beos/Makefile
Modified : /branches/targetandroid/rtl/darwin/Makefile
Modified : /branches/targetandroid/rtl/embedded/Makefile
Modified : /branches/targetandroid/rtl/emx/Makefile
Modified : /branches/targetandroid/rtl/freebsd/Makefile
Modified : /branches/targetandroid/rtl/gba/Makefile
Modified : /branches/targetandroid/rtl/go32v2/Makefile
Modified : /branches/targetandroid/rtl/haiku/Makefile
Modified : /branches/targetandroid/rtl/linux/Makefile
Modified : /branches/targetandroid/rtl/macos/Makefile
Modified : /branches/targetandroid/rtl/morphos/Makefile
Modified : /branches/targetandroid/rtl/nativent/Makefile
Modified : /branches/targetandroid/rtl/nds/Makefile
Modified : /branches/targetandroid/rtl/netbsd/Makefile
Modified : /branches/targetandroid/rtl/netware/Makefile
Modified : /branches/targetandroid/rtl/netwlibc/Makefile
Modified : /branches/targetandroid/rtl/openbsd/Makefile
Modified : /branches/targetandroid/rtl/os2/Makefile
Modified : /branches/targetandroid/rtl/palmos/Makefile
Modified : /branches/targetandroid/rtl/solaris/Makefile
Modified : /branches/targetandroid/rtl/symbian/Makefile
Modified : /branches/targetandroid/rtl/unix/x86.pp
Modified : /branches/targetandroid/rtl/wii/Makefile
Modified : /branches/targetandroid/rtl/win32/Makefile
Modified : /branches/targetandroid/rtl/win64/Makefile
Modified : /branches/targetandroid/rtl/wince/Makefile
Modified : /branches/targetandroid/utils/Makefile
Modified : /branches/targetandroid/utils/dxegen/Makefile
Modified : /branches/targetandroid/utils/fpcm/Makefile
Modified : /branches/targetandroid/utils/fpcm/fpcmmain.pp
Modified : /branches/targetandroid/utils/fpcmkcfg/Makefile
Modified : /branches/targetandroid/utils/fpcres/Makefile
Modified : /branches/targetandroid/utils/fpcreslipo/Makefile
Modified : /branches/targetandroid/utils/fpdoc/Makefile
Modified : /branches/targetandroid/utils/fpmc/Makefile
Modified : /branches/targetandroid/utils/fppkg/Makefile
Modified : /branches/targetandroid/utils/fprcp/Makefile
Modified : /branches/targetandroid/utils/h2pas/Makefile
Modified : /branches/targetandroid/utils/importtl/Makefile
Modified : /branches/targetandroid/utils/instantfpc/Makefile
Modified : /branches/targetandroid/utils/rmwait/Makefile
Modified : /branches/targetandroid/utils/tply/Makefile

Revision: 21066
Author: tom_at_work
Date: 26 Apr 2012 22:05:06
Message:
fix pthreads use with Android: it does not provide some functions. This patch is partially based on the bug report 0021525. Further, fix use of sem_timedwait in cthreads.pp since Android supports it.
----
Modified : /branches/targetandroid/rtl/linux/pthread.inc
Modified : /branches/targetandroid/rtl/unix/cthreads.pp

Revision: 21065
Author: tom_at_work
Date: 26 Apr 2012 16:15:52
Message:
bugfixes:
- do not compile ipc unit for android, not supported
- fix geterrnolocation external name
- implement dummy getdomainname; does not exist in android
- remove wrong 'if defined(android)' clauses
----
Modified : /branches/targetandroid/rtl/android/Makefile
Modified : /branches/targetandroid/rtl/android/Makefile.fpc
Modified : /branches/targetandroid/rtl/fpmake.pp
Modified : /branches/targetandroid/rtl/unix/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/initc.pp
Modified : /branches/targetandroid/rtl/unix/ipc.pp
Modified : /branches/targetandroid/rtl/unix/unix.pp

Revision: 21063
Author: tom_at_work
Date: 26 Apr 2012 12:53:37
Message:
- missing makefile
----
Added : /branches/targetandroid/rtl/android/Makefile

Revision: 21062
Author: tom_at_work
Date: 26 Apr 2012 12:41:13
Message:
- commit missing new files
----
Added : /branches/targetandroid/compiler/systems/i_android.pas
Added : /branches/targetandroid/compiler/systems/t_android.pas
Added : /branches/targetandroid/rtl/android
Added : /branches/targetandroid/rtl/android/Makefile.fpc
Added : /branches/targetandroid/rtl/android/arm
Added : /branches/targetandroid/rtl/android/arm/cprt0.as
Added : /branches/targetandroid/rtl/android/arm/dllprt0.as
Added : /branches/targetandroid/rtl/android/arm/prt0.as

Revision: 21061
Author: tom_at_work
Date: 26 Apr 2012 12:36:42
Message:
- initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support

todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support

----
Modified : /branches/targetandroid/Makefile
Modified : /branches/targetandroid/compiler/Makefile
Modified : /branches/targetandroid/compiler/aggas.pas
Modified : /branches/targetandroid/compiler/arm/cputarg.pas
Modified : /branches/targetandroid/compiler/compiler.pas
Modified : /branches/targetandroid/compiler/systems.inc
Modified : /branches/targetandroid/compiler/systems.pas
Modified : /branches/targetandroid/compiler/utils/Makefile
Modified : /branches/targetandroid/compiler/utils/ppudump.pp
Modified : /branches/targetandroid/ide/Makefile
Modified : /branches/targetandroid/ide/compiler/Makefile
Modified : /branches/targetandroid/installer/Makefile
Modified : /branches/targetandroid/packages/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile
Modified : /branches/targetandroid/packages/fpmkunit/Makefile.fpc
Modified : /branches/targetandroid/packages/fpmkunit/src/fpmkunit.pp
Modified : /branches/targetandroid/packages/fppkg/src/fpmkunitsrc.inc
Modified : /branches/targetandroid/packages/gnome1/fpmake.pp
Modified : /branches/targetandroid/packages/gtk1/fpmake.pp
Modified : /branches/targetandroid/packages/gtk2/fpmake.pp
Modified : /branches/targetandroid/packages/imlib/fpmake.pp
Modified : /branches/targetandroid/packages/opengl/fpmake.pp
Modified : /branches/targetandroid/packages/sdl/fpmake.pp
Modified : /branches/targetandroid/rtl/Makefile
Modified : /branches/targetandroid/rtl/Makefile.fpc
Modified : /branches/targetandroid/rtl/aix/Makefile
Modified : /branches/targetandroid/rtl/amiga/Makefile
Modified : /branches/targetandroid/rtl/beos/Makefile
Modified : /branches/targetandroid/rtl/darwin/Makefile
Modified : /branches/targetandroid/rtl/embedded/Makefile
Modified : /branches/targetandroid/rtl/emx/Makefile
Modified : /branches/targetandroid/rtl/freebsd/Makefile
Modified : /branches/targetandroid/rtl/gba/Makefile
Modified : /branches/targetandroid/rtl/go32v2/Makefile
Modified : /branches/targetandroid/rtl/haiku/Makefile
Modified : /branches/targetandroid/rtl/linux/Makefile
Modified : /branches/targetandroid/rtl/macos/Makefile
Modified : /branches/targetandroid/rtl/morphos/Makefile
Modified : /branches/targetandroid/rtl/nativent/Makefile
Modified : /branches/targetandroid/rtl/nds/Makefile
Modified : /branches/targetandroid/rtl/netbsd/Makefile
Modified : /branches/targetandroid/rtl/netware/Makefile
Modified : /branches/targetandroid/rtl/netwlibc/Makefile
Modified : /branches/targetandroid/rtl/openbsd/Makefile
Modified : /branches/targetandroid/rtl/os2/Makefile
Modified : /branches/targetandroid/rtl/palmos/Makefile
Modified : /branches/targetandroid/rtl/solaris/Makefile
Modified : /branches/targetandroid/rtl/symbian/Makefile
Modified : /branches/targetandroid/rtl/unix/cwstring.pp
Modified : /branches/targetandroid/rtl/unix/initc.pp
Modified : /branches/targetandroid/rtl/unix/ipc.pp
Modified : /branches/targetandroid/rtl/unix/unix.pp
Modified : /branches/targetandroid/rtl/wii/Makefile
Modified : /branches/targetandroid/rtl/win32/Makefile
Modified : /branches/targetandroid/rtl/win64/Makefile
Modified : /branches/targetandroid/rtl/wince/Makefile
Modified : /branches/targetandroid/utils/Makefile
Modified : /branches/targetandroid/utils/dxegen/Makefile
Modified : /branches/targetandroid/utils/fpcm/Makefile
Modified : /branches/targetandroid/utils/fpcm/fpcmake.inc
Modified : /branches/targetandroid/utils/fpcm/fpcmake.ini
Modified : /branches/targetandroid/utils/fpcm/fpcmmain.pp
Modified : /branches/targetandroid/utils/fpcmkcfg/Makefile
Modified : /branches/targetandroid/utils/fpcmkcfg/fppkg.inc
Modified : /branches/targetandroid/utils/fpcres/Makefile
Modified : /branches/targetandroid/utils/fpcreslipo/Makefile
Modified : /branches/targetandroid/utils/fpdoc/Makefile
Modified : /branches/targetandroid/utils/fpmc/Makefile
Modified : /branches/targetandroid/utils/fppkg/Makefile
Modified : /branches/targetandroid/utils/fppkg/fppkg.pp
Modified : /branches/targetandroid/utils/fprcp/Makefile
Modified : /branches/targetandroid/utils/h2pas/Makefile
Modified : /branches/targetandroid/utils/importtl/Makefile
Modified : /branches/targetandroid/utils/instantfpc/Makefile
Modified : /branches/targetandroid/utils/rmwait/Makefile
Modified : /branches/targetandroid/utils/tply/Makefile

git-svn-id: trunk@23604 -
2013-02-13 12:00:15 +00:00
yury
aeb3c002b0 * More correct fix for overview query. Use LEFT JOIN to explicitly specify order of tables to help MySQL to generate correct exec plan.
* Speed-up history query by using TESTRESULTS as main table and TR_ID field for ordering.
* Test file or run id must be provided for history query. Print an error if not provided.
* Limit query results to 1000 records to prevent unnecessary server load.

git-svn-id: trunk@23579 -
2013-02-05 23:56:38 +00:00
yury
49f9288611 * Due to buggy MySQL query plan optimizer, the existing tests overview query use incorrect execution plan which leads to long execution time. The SQL query has been changed to produce efficient execution plan. Now the overview form works correctly.
* Fixed displaying of the test category column.
* Fixed History overview.
* History form: display a error when a test file not found.
* Use MySQL 5.5 connection.

git-svn-id: trunk@23564 -
2013-02-02 16:07:45 +00:00
yury
e0a70d0510 * Do not copy a library to a remote target if this library name is specified using %DELFILES directive.
git-svn-id: branches/targetandroid@23489 -
2013-01-22 14:18:56 +00:00
yury
fbb0b48ad6 * Implemented { %DELFILES file1 file2 ... } directive for tests. Primarily it is needed to delete shared libraries used by tests when TEST_DELTEMP=1. When testing on a real Android device, it is not good to run tests on flash memory partitions. Android devices have 1Mb RAM based tempfs partition for /tmp folder, which is ideal for running tests. Since 1Mb is very small size these days, it is needed to clean all test leftovers. Test shared libraries are the biggest leftovers and this new DELFILES directive will help to delete them.
* During remote execution, use && as a command separator after important commands such as CD to ensure that the command succeeded before running other commands. Group other commands using curly braces { }.

git-svn-id: branches/targetandroid@23488 -
2013-01-22 13:47:52 +00:00
yury
4902dd2f99 * Do not pass -f switch for rm when testing via adb, since default android shell do not support -f switch.
git-svn-id: branches/targetandroid@23484 -
2013-01-22 09:53:41 +00:00
yury
23b95a4d70 * Regenerated all makefiles.
git-svn-id: branches/targetandroid@23422 -
2013-01-17 11:36:12 +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
32551f3c6b * Fixed running library tests on android.
git-svn-id: branches/targetandroid@23385 -
2013-01-15 08:20:43 +00:00
michael
b3de56a540 * Fixed compilation for version 5.5 of mysql
git-svn-id: trunk@23246 -
2012-12-28 23:40:10 +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
283ff05127 * merged avx support in inline assembler developed by Torsten Grundke
git-svn-id: trunk@22568 -
2012-10-06 19:47:18 +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
a6375ba385 * don't limit the full path of reslogfile to 32 characters
git-svn-id: trunk@21430 -
2012-05-29 09:21:07 +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
pierre
02f8739bca Fix win32 compilation
git-svn-id: trunk@21346 -
2012-05-20 17:03:01 +00:00
marco
90adaeb652 * routine to transform result of fpsystem to old "shell" convention added.
git-svn-id: trunk@21341 -
2012-05-20 11:29:22 +00:00
marco
7ae1db2e01 * replaced deprecated shell by fpsystem.
git-svn-id: trunk@21327 -
2012-05-19 09:00:37 +00:00
Jonas Maebe
9e0bc92b88 * prevent crash in dotest in case a test file contains a line at the start
with only whitespace on it (such as webtbf/tw21873.pp)

git-svn-id: trunk@21119 -
2012-04-29 17:36:11 +00:00
pierre
1b3fd997fc + Regenerate all Makefiles's after adding x86_64 netbsd target
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
Jonas Maebe
d68d9ba1a0 * don't pass -blibpath parameter for %needlibrary tests on AIX: the linker
doesn't recognise it (even though it's documented) and it's not needed

git-svn-id: trunk@20822 -
2012-04-11 18:05:02 +00:00
Jonas Maebe
44bd889b9b * regenerated Makefiles with AIX support
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
Jonas Maebe
9efe09a827 + aix support for testsuite helper programs
git-svn-id: trunk@20806 -
2012-04-11 18:02:23 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
pierre
c5f9b66e51 * Fix bug in DelOptions leading to infinite loop:(
git-svn-id: trunk@20721 -
2012-04-06 15:15:48 +00:00
pierre
c968fcbfaf * Fix PuTTY plink usage with -load option
git-svn-id: trunk@20703 -
2012-04-04 04:56:20 +00:00
pierre
0658a6ee88 * Move + after objfpc to use ansistrings
git-svn-id: trunk@20644 -
2012-03-28 08:10:46 +00:00
pierre
88b00552a2 + Add support for target specific options
example:  %OPT=-gl win32%-WN
    if % is found in OPT list, the string after % is only added
    to the compiler options if current target is
    contained in the list of the string before the % sign.
  + Add %DELOPT dotest option.
    can be used in two variants
    %DELOPT=-Crio
    will suppress -Criot from TEST_OPT if it appears exactly
    (-Criot will not match).
    %DELOPT=-C* will suppress all options starting with -C.

git-svn-id: trunk@20640 -
2012-03-27 14:26:24 +00:00
pierre
2e4b7ae05c Apply fixes from Sven Barth
git-svn-id: trunk@19686 -
2011-11-25 16:53:20 +00:00
pierre
e366c013e3 * fix -rpath passing to linker for Windows OS by
avoiding use of single quotes.
  * Use 'ulimit -t ' instead of timeout for bash shells.

git-svn-id: trunk@19477 -
2011-10-12 12:33:24 +00:00
pierre
82fc72ea8d * New code to handle zip file containing longlog instead of invidual comp/execute log/elg files
git-svn-id: trunk@19348 -
2011-10-03 21:51:17 +00:00
pierre
732adeaa66 * Added TU_CATEGORY_FK and Svn revs to RunOverview
git-svn-id: trunk@19347 -
2011-10-03 21:48:53 +00:00
pierre
24d489f7f7 * Lowercase CompilerCPU and CompilerTarget
at startup to avoid need of constant use of lowercase function.
 + Added RemoteShell, RemoteShellBase and RemoteShellNeedsExport to
   be able to set LD_LIBRARY_PATH on remote connections.
   (Other checks might be necessary to avoid use of wrong environment
    settings for other shells).
 + TargetIsUnix: New variable, based on UNIX presence within
   target_info.extadefines field.

 + SpliTFileBase: New function returning only base part.

 + LibraryExists: New function to see if a library was created,
   Library name is also constructed based on target_info fields.
 * ExecuteRemote,ExecuteEmulated: moved to global scope to allow use at start
   to check type of shell used.
 * RunExecutable: Adapted to set env. varaible LD_LIBRARY_PATH for remote
   connections.
 + MaybeCopyFiles: New function to separate file copy operations.
 + SetRemoteConfiguration: New function to set RemoteShellXXX variables.
 * RunTest: Use LibraryExists to avoid running a library
   and possibly copy library to remote.

git-svn-id: trunk@19331 -
2011-10-03 06:23:38 +00:00
pierre
ea6138cffa * Add Category and svn information
git-svn-id: trunk@19077 -
2011-09-16 16:07:48 +00:00
pierre
a6b290c97a * More dual result table support
git-svn-id: trunk@18938 -
2011-09-01 16:29:28 +00:00
pierre
4c0a04bc48 * Support more tags/branches for sources
git-svn-id: trunk@18937 -
2011-09-01 15:40:20 +00:00
pierre
c0cfded280 * Partial support for OLDTESTRESULTS table
git-svn-id: trunk@18936 -
2011-09-01 15:16:31 +00:00
pierre
752241adba Reorder some fields
git-svn-id: trunk@18935 -
2011-09-01 14:34:54 +00:00
pierre
aa62380d72 Display all svn revisions for DEBUGCGI or listall
git-svn-id: trunk@18933 -
2011-09-01 14:09:31 +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
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
pierre
c529921fc8 * clarify environment processing
git-svn-id: trunk@17942 -
2011-07-06 16:23:10 +00:00
pierre
405655ba60 + Skip library tests for go32v2 target
git-svn-id: trunk@17817 -
2011-06-24 10:11:19 +00:00
pierre
256c58d670 * Fix SetTargetDirectoriesStyle , needed a call to GetCompilerTarget first
git-svn-id: trunk@17796 -
2011-06-22 15:42:58 +00:00
pierre
9f919b942a + Support !ENV_VAR option and separate ExeExt for target from SrcExeExt for cross-testing
git-svn-id: trunk@17696 -
2011-06-08 14:55:30 +00:00
Jonas Maebe
e8f654ffa5 * fixed ForceExtension() after r16905 in case the input did not have an
exitension (it cut off the last character of the filename in that case)

git-svn-id: trunk@16911 -
2011-02-12 21:13:51 +00:00
pierre
acb2aca3d0 * Remove limitations to 255 chars of shortstrings
* Better handle relative remotepath:
   - use cd to go to this path,
   - but call executable using only ./execfilename
 * Keep .exe suffix for cygwin style ssh for go32v2, win32 or win64 targets

git-svn-id: trunk@16905 -
2011-02-11 10:47:21 +00:00
pierre
e3b56a1bcb + TargetHasDosStyleDirectories, TargetAmigaLike,
TargetIsMacOS: New variables, used in new function IsAbsolute.
  SetTargetDirectoriesStyle;, IsMacFullPath, IsAbsolute: New functions.
  CopyFile: Changed from procedure to function returning the
  number of copied chars.
  RunCompiler: Add compilation type for benchmark -D option.
  RunExecutable: Add execution time for benchmark -D option.
  Also report Exitcode on failure if no output is written
  (i.e. CopyFile returns zero written chars).
  HelpScreen function: Order options alphabetically.
  Add new -D benchmark option.

git-svn-id: trunk@16757 -
2011-01-13 14:06:24 +00:00
pierre
365c0d82bf * Fix windows code to avoid closing unopened files
git-svn-id: trunk@16342 -
2010-11-14 10:38:03 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +00:00
pierre
1fcd37809b * Fix compilation for go32v2
git-svn-id: trunk@15700 -
2010-08-03 11:42:40 +00:00
pierre
2646db8036 * Add is_new boolean arg to AddTestResult, to e able to know
if the call really added a new result.

git-svn-id: trunk@14807 -
2010-01-26 12:54:48 +00:00
pierre
85fef0d52d * Improve test result insertion into database
git-svn-id: trunk@14804 -
2010-01-25 16:51:50 +00:00
pierre
95b04cea9d * fix two string errors
git-svn-id: trunk@14799 -
2010-01-25 10:46:29 +00:00
pierre
5fa9463074 * remove two warnings
git-svn-id: trunk@14778 -
2010-01-22 23:32:51 +00:00
pierre
def7ffbea5 * Add some additional fields to testrun table
git-svn-id: trunk@14777 -
2010-01-22 23:09:02 +00:00
pierre
be36d13e73 + Update for correct cleaning of dbdigest executable
git-svn-id: trunk@14774 -
2010-01-22 16:03:40 +00:00
pierre
d5f0cc1f7d + Add explicit Port for mysql connection
git-svn-id: trunk@14771 -
2010-01-22 15:33:34 +00:00
pierre
9c487c236a * more updates for test history
git-svn-id: trunk@14769 -
2010-01-22 10:17:32 +00:00
pierre
134331f129 * more updates for test history
git-svn-id: trunk@14627 -
2010-01-12 17:32:39 +00:00
marco
0b7e3d14e4 * cleanup of redir. I hope this solves win32 lfn problems, while preserving execinheritshandles functionality.
* removed TP/1.0 
    * switched windows to sysutils.executeprocess using new execinheritshandles 
    * new execinherits executeprocess implementation local for 2.4.0 (and 2.4.1, though that is no longer necessary   after merge)  
  

git-svn-id: trunk@14618 -
2010-01-11 19:45:24 +00:00
pierre
c39c87096a * more updates
git-svn-id: trunk@14614 -
2010-01-11 15:01:10 +00:00
pierre
d4e57bcfa9 * Update testsuite web interface
git-svn-id: trunk@14562 -
2010-01-07 15:22:18 +00:00
pierre
a440104065 + NEEDEDAFTER to avoid deleting created files if needed for another test
git-svn-id: trunk@14405 -
2009-12-11 19:27:14 +00:00
pierre
7ba3eb2b02 * Update Makefiles
git-svn-id: trunk@14384 -
2009-12-10 08:29:05 +00:00
Tomas Hajny
0179fb503e * Fix by Giulio: Fix compilation of redir.pp for go32v2
git-svn-id: trunk@14026 -
2009-11-03 22:48:45 +00:00
Jonas Maebe
847354fe10 * Makefiles version 2.5.1
git-svn-id: trunk@13533 -
2009-08-13 21:21:28 +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
Jonas Maebe
e246cac3ac * regenerated using latest fpcmake
git-svn-id: trunk@13487 -
2009-08-02 18:40:14 +00:00
Tomas Hajny
5432694059 * compilation fix for OS/2 and (hopefully) MacOS
git-svn-id: trunk@12379 -
2008-12-17 21:49:25 +00:00