Merge lp:~widelands-dev/widelands/unlink_test_richtext into lp:widelands

Proposed by GunChleoc
Status: Merged
Merged at revision: 8618
Proposed branch: lp:~widelands-dev/widelands/unlink_test_richtext
Merge into: lp:widelands
Diff against target: 36 lines (+8/-2)
3 files modified
debian/rules (+2/-1)
src/graphic/text/CMakeLists.txt (+3/-1)
src/graphic/text/test/CMakeLists.txt (+3/-0)
To merge this branch: bzr merge lp:~widelands-dev/widelands/unlink_test_richtext
Reviewer Review Type Date Requested Status
Notabilis Approve
Review via email: mp+340264@code.launchpad.net

Commit message

Reactivated the rich text testing project, as it's currently unmaintained.

Description of the change

Reactivated the rich text testing project, as it's currently unmaintained.

I'm tired of waiting for this think to be linked, and it has been on hold for many years now. We need to work out the remaining kinks in the new font renderer first anyway.

To post a comment you must log in.
Revision history for this message
bunnybot (widelandsofficial) wrote :

Continuous integration builds have changed state:

Travis build 3261. State: passed. Details: https://travis-ci.org/widelands/widelands/builds/348111566.
Appveyor build 3070. State: success. Details: https://ci.appveyor.com/project/widelands-dev/widelands/build/_widelands_dev_widelands_unlink_test_richtext-3070.

Revision history for this message
Notabilis (notabilis27) wrote :

Assuming you mean "deactivated" it seems to be working fine. Tested by applying the makefile change locally. I haven't tested the changes for Debian, though.

Feature request (not for this branch): Add a compile.sh parameter to disable all tests.

review: Approve
Revision history for this message
GunChleoc (gunchleoc) wrote :

The other tests run really fast, so I don't think that we need to ne able disable them at this time. Or are they costing you significant time?

@bunnybot merge

Revision history for this message
Notabilis (notabilis27) wrote :

They are running fast but linking takes relatively long. At least it feels that way, I haven't done any measurements.
Just a thought: maybe its possible to link all of them in parallel instead of one after the other.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/rules'
2--- debian/rules 2017-11-27 17:35:31 +0000
3+++ debian/rules 2018-03-02 06:23:51 +0000
4@@ -67,7 +67,8 @@
5 mkdir debian/tmp/usr/games
6 # ... but we want to place them in the right location so that the .install files work
7 # mv debian/tmp/usr/widelands debian/tmp/usr/games
8- for b in wl_map_info wl_map_object_info wl_render_richtext widelands ; do \
9+ # TODO(GunChleoc): wl_render_richtext is currently unmaintained
10+ for b in wl_map_info wl_map_object_info widelands ; do \
11 mv debian/tmp/usr/$${b} debian/tmp/usr/games ;\
12 done
13 # appdata
14
15=== modified file 'src/graphic/text/CMakeLists.txt'
16--- src/graphic/text/CMakeLists.txt 2017-05-21 16:53:25 +0000
17+++ src/graphic/text/CMakeLists.txt 2018-03-02 06:23:51 +0000
18@@ -1,4 +1,6 @@
19-add_subdirectory(test)
20+# TODO(GunChleoc): This unit testing project is currently unmaintained
21+# Reactivate in debian/rules too once work resumes on this
22+# add_subdirectory(test)
23
24 wl_library(graphic_text
25 SRCS
26
27=== modified file 'src/graphic/text/test/CMakeLists.txt'
28--- src/graphic/text/test/CMakeLists.txt 2017-05-21 16:53:25 +0000
29+++ src/graphic/text/test/CMakeLists.txt 2018-03-02 06:23:51 +0000
30@@ -1,3 +1,6 @@
31+# TODO(GunChleoc): This unit testing project is currently unmaintained
32+# Reactivate in parent directory once work resumes on this
33+
34 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/paths.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/paths.h)
35
36 # Simple binary that renders a text into an image for manual

Subscribers

People subscribed via source and target branches

to status/vote changes: