Commit Graph

14 Commits

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