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