[Commits] [wesnoth/wesnoth] 483272: Windows WML tests: Add WindowsTimeout project

GitHub noreply at github.com
Thu May 29 05:31:38 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4832724565715e7454d0f972f58bd242c235e609
      https://github.com/wesnoth/wesnoth/commit/4832724565715e7454d0f972f58bd242c235e609
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-05-29 (Thu, 29 May 2014)

  Changed paths:
    A projectfiles/VC9/WindowsTimeout.cpp
    A projectfiles/VC9/WindowsTimeout.vcproj
    M projectfiles/VC9/wesnoth.sln

  Log Message:
  -----------
  Windows WML tests: Add WindowsTimeout project

As the --timeout option for Wesnoth can stall the process, we replace it
by an encapsulation comparable to the Unix timeout function.

WindowsTimeout isn't limited to Wesnoth, it can in fact set a timeout for
any executable called through it.

An example on the use of these WinAPI functions can be found on
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682512.aspx


  Commit: 8d91cef488797e60285ff417cd67677196efeb6e
      https://github.com/wesnoth/wesnoth/commit/8d91cef488797e60285ff417cd67677196efeb6e
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-05-29 (Thu, 29 May 2014)

  Changed paths:
    A projectfiles/VC9/WML_tests.cmd

  Log Message:
  -----------
  Windows WML tests: Port .sh test script to .cmd

WML tests are read from wml_test_schedule, executed and their error code
is compared to the expected result.


  Commit: f90569ccee06b616739271baca2dc96103270d62
      https://github.com/wesnoth/wesnoth/commit/f90569ccee06b616739271baca2dc96103270d62
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-05-29 (Thu, 29 May 2014)

  Changed paths:
    M projectfiles/VC9/WML_tests.cmd

  Log Message:
  -----------
  Windows WML tests: Improve stdout output

Differentiate between timeouts and real errors: In case of a timeout, only
throw a warning instead of an error.

Also implement a basic progress bar.


  Commit: 412aca56d77059687e9e30ac3191349cd7f6b1c1
      https://github.com/wesnoth/wesnoth/commit/412aca56d77059687e9e30ac3191349cd7f6b1c1
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-05-29 (Thu, 29 May 2014)

  Changed paths:
    M projectfiles/VC9/WML_tests.cmd

  Log Message:
  -----------
  Windows WML tests: Add optional argument for executable path


  Commit: 64d72a63a91e2a7d78d78de129d3a022301570cb
      https://github.com/wesnoth/wesnoth/commit/64d72a63a91e2a7d78d78de129d3a022301570cb
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-05-29 (Thu, 29 May 2014)

  Changed paths:
    M projectfiles/VC9/wesnoth.vcproj

  Log Message:
  -----------
  Windows WML tests: Enable automatic tests in VC


  Commit: 8306aa9353ad3e7437dc953d2db9c15c2b4e22d9
      https://github.com/wesnoth/wesnoth/commit/8306aa9353ad3e7437dc953d2db9c15c2b4e22d9
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2014-05-29 (Thu, 29 May 2014)

  Changed paths:
    A projectfiles/VC9/WML_tests.cmd
    A projectfiles/VC9/WindowsTimeout.cpp
    A projectfiles/VC9/WindowsTimeout.vcproj
    M projectfiles/VC9/wesnoth.sln
    M projectfiles/VC9/wesnoth.vcproj

  Log Message:
  -----------
  Merge pull request #173 from aquileia/WML_test

Add support for WML unit tests to the VC compiler, and also a nice windows cmd script, porting the bash script which we have, and which uses a timeout program which Aquileia wrote for us and added to the VC project files.


Compare: https://github.com/wesnoth/wesnoth/compare/0ea2ef482121...8306aa9353ad


More information about the Commits mailing list