/[gentoo-x86]/app-office/libreoffice/files/libreoffice-3.5.2-tests-headless.patch
Gentoo

Contents of /app-office/libreoffice/files/libreoffice-3.5.2-tests-headless.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 6 12:44:12 2012 UTC (2 years, 6 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
3.5 branch depend only on cmis-0.1.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 From b8ec5464300a0c909166197a09a80c837b90fef5 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.cz>
3 Date: Tue, 3 Apr 2012 14:21:23 +0200
4 Subject: [PATCH] always pass --headless to cppunits
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 They should not need any actual UI anyway, and most of them already
10 pass the option manually.
11 http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
12
13 This is partial code grab as cherry-pick had the test-mk files collisions
14 all over the place. I pick only the additional define which results in some
15 tests adding --headless twice, which does no harm.
16
17 Author: Luboš Luňák <l.lunak@suse.cz>
18 Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz>
19 ---
20 solenv/gbuild/CppunitTest.mk | 1 +
21 1 files changed, 1 insertions(+), 0 deletions(-)
22
23 diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
24 index 0d8959e..826d3f5 100644
25 --- a/solenv/gbuild/CppunitTest.mk
26 +++ b/solenv/gbuild/CppunitTest.mk
27 @@ -61,6 +61,7 @@ gb_CppunitTarget__make_url = file://$(if $(filter WNT,$(OS_FOR_BUILD)),/)$(1)
28 gb_CppunitTest__get_uno_type_target = $(OUTDIR)/bin/$(1).rdb
29 define gb_CppunitTest__make_args
30 $(ARGS) \
31 +--headless \
32 $(if $(strip $(UNO_TYPES)),\
33 "-env:UNO_TYPES=$(foreach rdb,udkapi $(UNO_TYPES),\
34 $(call gb_CppunitTarget__make_url,$(call gb_CppunitTest__get_uno_type_target,$(rdb))))") \
35 --
36 1.7.7

  ViewVC Help
Powered by ViewVC 1.1.20