Merge lp:~jarih/widelands/fix-unit-tests into lp:widelands
Proposed by
Jari Hautio
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 6279 | ||||||||
Proposed branch: | lp:~jarih/widelands/fix-unit-tests | ||||||||
Merge into: | lp:widelands | ||||||||
Diff against target: |
577 lines (+142/-77) 11 files modified
CMakeLists.txt (+7/-4) src/CMakeLists.txt (+10/-3) src/economy/test/CMakeLists.txt (+2/-3) src/economy/test/test_road.cc (+12/-3) src/economy/test/test_routing.cc (+36/-24) src/io/filesystem/disk_filesystem.cc (+0/-10) src/io/filesystem/filesystem.cc (+22/-16) src/io/filesystem/test/CMakeLists.txt (+2/-3) src/io/filesystem/test/test_filesystem.cc (+42/-8) src/scripting/test/CMakeLists.txt (+2/-1) src/wlapplication.cc (+7/-2) |
||||||||
To merge this branch: | bzr merge lp:~jarih/widelands/fix-unit-tests | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Review via email: mp+95748@code.launchpad.net |
Description of the change
This branch integrates existing boost unit tests (file system and economy)to current tests, has some fixes to get tests running, and provides rather simple way to add new tests.
Any comments on the few small changes that I did to get file system tests to pass.
1. File system code now allows using relative paths on command line
2. Hard coded windows version to use executable path as default search path - just like in Mac. Earlier this was done using dots in WL_INSTALL_PREFIX and WL_INSTALL_DATADIR, and having get current directory on windows to return executable path instead for working working directory.
To post a comment you must log in.
I cannot comment on the CMake Stuff, but the C++ changes look fine to me. Can you merge this yourself jari?