[Commits] [wesnoth/wesnoth] e127cd: add wesnoth-test text domain to a unit test which ...
GitHub
noreply at github.com
Sun May 4 03:02:18 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: e127cd51d4df7b66d149283beef1f246971d9c51
https://github.com/wesnoth/wesnoth/commit/e127cd51d4df7b66d149283beef1f246971d9c51
Author: Chris Beck <render787 at gmail.com>
Date: 2014-05-03 (Sat, 03 May 2014)
Changed paths:
M src/tests/test_unit_map.cpp
Log Message:
-----------
add wesnoth-test text domain to a unit test which was missing it
Commit: cc138a4ed96f3ac1f8c5130aa6842d1429013da4
https://github.com/wesnoth/wesnoth/commit/cc138a4ed96f3ac1f8c5130aa6842d1429013da4
Author: Chris Beck <render787 at gmail.com>
Date: 2014-05-03 (Sat, 03 May 2014)
Changed paths:
M src/tests/utils/game_config_manager.cpp
Log Message:
-----------
fixup test utils to accomodate recent test directory change
Previously, the C++ unit tests which used the test utils
game config manager object would load things in /data/test/,
and not all of /data/. Presumably this was for efficiency
of the C++ unit tests.
I didn't realize this when working on the wml unit tests branch.
In that branch, I added all of the WML unit test macros and
scenarios to data/test/, and found that I couldn't load them,
since /data/_main.cfg had the {/test/_main.cfg} line commented
out. I uncommented this and made some other changes in
/data/test/ so that loading wml unit tests would work.
However, it made the C++ unit tests not happy.
This change makes them not create errors, but it also includes
all of core when they run, which may not have been intended,
although I don't see that it causes problems.
I may fix this all up soon, by making a different environment
for C++ and WML unit tests. (In fact this already existed,
and I have now destroyed the distinction.) Putting WML
tests in their own directory different from the C++ tests
may be the simplest fix, that will preserve the environment
of the old C++ tests while giving a more complete environment
where the WML unit tests may run.
Commit: cb50f766123c3d240a2189fa5f9dd9ee15769207
https://github.com/wesnoth/wesnoth/commit/cb50f766123c3d240a2189fa5f9dd9ee15769207
Author: Chris Beck <render787 at gmail.com>
Date: 2014-05-03 (Sat, 03 May 2014)
Changed paths:
M changelog
A data/ai/micro_ais/cas/ca_fast_combat.lua
A data/ai/micro_ais/cas/ca_fast_move.lua
M data/ai/micro_ais/micro_ai_wml_tag.lua
M players_changelog
M src/mouse_events.cpp
Log Message:
-----------
Merge branch 'master' of https://github.com/wesnoth/wesnoth
Compare: https://github.com/wesnoth/wesnoth/compare/a26bd3cd5c11...cb50f766123c
More information about the Commits
mailing list