diff options
author | Tomáš Chvátal <tchvatal@suse.cz> | 2012-04-03 14:21:23 +0200 |
---|---|---|
committer | Tomáš Chvátal <tchvatal@suse.cz> | 2012-04-04 11:15:19 +0200 |
commit | 141fdfa04807f49b1c4e89a90b477cc1714fc726 (patch) | |
tree | 31eceb8a143e3449c1105d061c9d8940dd7305ad | |
parent | ba3550bc82b8fb697b905c9913e399e1835b7cc0 (diff) |
always pass --headless to cppunits
They should not need any actual UI anyway, and most of them already
pass the option manually.
http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
This is partial code grab as cherry-pick had the test-mk files collisions
all over the place. I pick only the additional define which results in some
tests adding --headless twice, which does no harm.
Author: Luboš Luňák <l.lunak@suse.cz>
Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz>
-rw-r--r-- | solenv/gbuild/CppunitTest.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index 0d8959e0c841..826d3f580eb0 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -61,6 +61,7 @@ gb_CppunitTarget__make_url = file://$(if $(filter WNT,$(OS_FOR_BUILD)),/)$(1) gb_CppunitTest__get_uno_type_target = $(OUTDIR)/bin/$(1).rdb define gb_CppunitTest__make_args $(ARGS) \ +--headless \ $(if $(strip $(UNO_TYPES)),\ "-env:UNO_TYPES=$(foreach rdb,udkapi $(UNO_TYPES),\ $(call gb_CppunitTarget__make_url,$(call gb_CppunitTest__get_uno_type_target,$(rdb))))") \ |