Commit graph

227 commits

Author SHA1 Message Date
Chris Beck
e89d94d5cd travis requires all unit tests to pass. also refactor run_wml_tests.
With the change to --log-strict, it's not necessary to rerun with
strict mode off, so we can get rid of part of the old system.

Feel free to revert this is you don't want travis to require all
unit tests to pass as part of the build.
2014-05-20 16:38:18 -04:00
Chris Beck
987e34a3e3 fixup travis unit tests
- travis runs tests not in verbose mode,
  *but* if there is a failure,
  then it runs in very verbose mode, with strict mode off, to get
  errors reported in the travis log.
- run_wml_tests points out that if you don't run in strict mode,
  some tests may not fail as expected, so the count at the end
  may differ
2014-05-19 19:14:13 -04:00
Chris Beck
3eb02d338b disable strict mode on travis, so we can see the error messages 2014-05-19 18:06:29 -04:00
Chris Beck
aace2c0288 turn on very verbose logging for wml unit tests on travis
So we can maybe see what's wrong.
2014-05-19 17:20:11 -04:00
Alexander van Gessel
c3c2b25a82 Use xvfb on travis
As instructed on http://docs.travis-ci.com/user/gui-and-headless-browsers/
2014-05-19 02:32:20 +02:00
Chris Beck
07a1654227 add unix timeout option to wml test script, enable empty_test
Adds an option to the new wml test script, to use the unix
timeout command instead of wesnoth's built-in one. This is because
the built-in one is very slightly unreliable... there's a reason
killthread was deprecated in SDL unfortunately. Will leave it for
UMC but on travis will replace with unix timeout.

The unix timeout one seems consistent enough that I will enable
the empty_test timeout check for travis.

Also, adds a help listing to the wml test script.
2014-05-10 16:06:07 -04:00
Chris Beck
b56b34d2a1 add new wml tests script
Also, redirect some output from cout to cerr in the game...
this somewhat breaks the old script.

The old script is renamed .old

Travis points to the new script.
2014-05-10 14:34:02 -04:00
Alexander van Gessel
e087767060 Add WML unit tests to travis 2014-05-03 02:57:37 +02:00
Alexander van Gessel
67d462e21b Merge branch 'master' into boost_filesystem
Conflicts:
	.travis.yml
	SConstruct
	src/addon/manager.cpp
	src/campaign_server/campaign_server.cpp
	src/editor/map/context_manager.cpp
	src/editor/map/map_context.cpp
	src/filesystem.cpp
	src/filesystem.hpp
	src/game.cpp
	src/game_config_manager.cpp
	src/gui/dialogs/editor/custom_tod.cpp
	src/gui/dialogs/lobby/lobby_data.cpp
	src/gui/dialogs/mp_create_game.cpp
	src/gui/widgets/settings.cpp
	src/hotkeys.cpp
	src/multiplayer_create_engine.cpp
	src/multiplayer_lobby.cpp
	src/network.cpp
	src/savegame.cpp
	src/serialization/preprocessor.cpp
	src/widgets/button.cpp
	src/windows_tray_notification.hpp
2014-04-08 17:42:32 +02:00
Alexander van Gessel
e21d079531 Fix travis build 2014-04-07 00:38:10 +02:00
Alexander van Gessel
c1c67f2a57 Run unit tests on travis 2014-03-03 23:24:50 +01:00
Alexander van Gessel
b49baa68dd Enable strict compilation on travis 2014-01-18 23:16:08 +01:00
Alexander van Gessel
8a024c0638 Add missing boost library to travis 2013-12-29 02:49:09 +01:00
Alexander van Gessel
0167ce55ce Add test target to travis 2013-12-29 02:08:55 +01:00
Alexander van Gessel
d1c6801f36 Make travis a bit less verbose 2013-06-23 15:13:43 +02:00
Alexander van Gessel
1d22800e46 Also compile campaignd 2013-06-19 05:51:23 +02:00
Alexander van Gessel
02f73a62a0 Report to #wesnoth-dev 2013-06-09 20:43:22 +02:00
Alexander van Gessel
45fe09911f The scons thing seems to be fixed 2013-05-23 18:34:16 +02:00
Alexander van Gessel
423e195f9b Cat config.log if the build fails 2013-05-22 18:02:46 +02:00
Alexander van Gessel
17ae0b9834 We don't need boost::thread anymore 2013-05-22 02:56:19 +02:00
Alexander van Gessel
ad45dae034 Build every branch that is pushed 2013-05-21 20:41:23 +02:00
Alexander van Gessel
2fd37e2c8f Color changes 2013-05-21 20:40:55 +02:00
Alexander van Gessel
cdf0ea6c6d Colorize travis output 2013-05-19 22:43:41 +02:00
Alexander van Gessel
cd9c7eec01 Travis config: clang 2013-05-19 20:03:42 +02:00
Alexander van Gessel
076235367e Another travis config update 2013-05-19 19:37:17 +02:00
Alexander van Gessel
3c0a58e2d1 Travis config update 2013-05-19 19:33:01 +02:00
Alexander van Gessel
4b3fc0f7a4 Travis config 2013-05-19 19:23:19 +02:00