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
=== modified file 'debian/rules'
--- debian/rules 2017-11-27 17:35:31 +0000
+++ debian/rules 2018-03-02 06:23:51 +0000
@@ -67,7 +67,8 @@
67 mkdir debian/tmp/usr/games67 mkdir debian/tmp/usr/games
68 # ... but we want to place them in the right location so that the .install files work68 # ... but we want to place them in the right location so that the .install files work
69 # mv debian/tmp/usr/widelands debian/tmp/usr/games69 # mv debian/tmp/usr/widelands debian/tmp/usr/games
70 for b in wl_map_info wl_map_object_info wl_render_richtext widelands ; do \70 # TODO(GunChleoc): wl_render_richtext is currently unmaintained
71 for b in wl_map_info wl_map_object_info widelands ; do \
71 mv debian/tmp/usr/$${b} debian/tmp/usr/games ;\72 mv debian/tmp/usr/$${b} debian/tmp/usr/games ;\
72 done73 done
73 # appdata74 # appdata
7475
=== modified file 'src/graphic/text/CMakeLists.txt'
--- src/graphic/text/CMakeLists.txt 2017-05-21 16:53:25 +0000
+++ src/graphic/text/CMakeLists.txt 2018-03-02 06:23:51 +0000
@@ -1,4 +1,6 @@
1add_subdirectory(test)1# TODO(GunChleoc): This unit testing project is currently unmaintained
2# Reactivate in debian/rules too once work resumes on this
3# add_subdirectory(test)
24
3wl_library(graphic_text5wl_library(graphic_text
4 SRCS6 SRCS
57
=== modified file 'src/graphic/text/test/CMakeLists.txt'
--- src/graphic/text/test/CMakeLists.txt 2017-05-21 16:53:25 +0000
+++ src/graphic/text/test/CMakeLists.txt 2018-03-02 06:23:51 +0000
@@ -1,3 +1,6 @@
1# TODO(GunChleoc): This unit testing project is currently unmaintained
2# Reactivate in parent directory once work resumes on this
3
1configure_file(${CMAKE_CURRENT_SOURCE_DIR}/paths.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/paths.h)4configure_file(${CMAKE_CURRENT_SOURCE_DIR}/paths.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/paths.h)
25
3# Simple binary that renders a text into an image for manual6# Simple binary that renders a text into an image for manual

Subscribers

People subscribed via source and target branches

to status/vote changes: