Enable testing via CMake, probably using CTest
Bug #544036 reported by
Jens Beyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Automatic codetesting needs to be enabled. This was enabled as default in SCons.
Check if CTest can be used for that, otherwise do it manually.
Related branches
lp://staging/~jarih/widelands/fix-unit-tests
- SirVer: Approve
-
Diff: 577 lines (+142/-77)11 files modifiedCMakeLists.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)
tags: | added: buildsystem cmake codecheck |
Changed in widelands: | |
milestone: | none → build16-rc1 |
Changed in widelands: | |
assignee: | nobody → Jens Beyer (Qcumber-some) (qcumber-some) |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands: | |
assignee: | Jens Beyer (Qcumber-some) (qcumber-some) → nobody |
To post a comment you must log in.
it would be great if the lua testsuite(s) can be somehow merged into this. It is a quite unconventional way of running tests and it has no standard reporting.