Commit Graph

357 Commits

Author SHA1 Message Date
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