Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/wesnoth/wesnoth
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 9, 2014
2 parents 97f9940 + ea26ebd commit 1f00eb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projectfiles/VC9/WML_tests.cmd
Expand Up @@ -12,6 +12,7 @@ set opt=--log-strict=warning
if "%1"=="" ( cd ..\..\ ) else ( cd %~p1 )

echo running WML tests:
set tSTART=%time%

:: ignore lines beginning with #
:: %%G contains whether the test should pass (0), timeout (2) or fail (1,4)
Expand All @@ -35,7 +36,9 @@ for /f "eol=# tokens=1,2 delims= " %%G in (%LoadFile%) do (
)
echo(
if not DEFINED fail_num ( set "fail_num=none" )
echo %test_num% WML tests completed, %fail_num% of them failed
set /a "minutes = (1%time:~3,2%-100) - (1%tSTART:~3,2%-100)"
set /a "seconds = (1%time:~6,2%-100) - (1%tSTART:~6,2%-100)"
echo %test_num% WML tests completed in %minutes%m %seconds%s, %fail_num% of them failed

:: restore the state before execution
cd %~p0
Expand Down

0 comments on commit 1f00eb5

Please sign in to comment.