[Libreoffice-commits] core.git: solenv/gbuild
Miklos Vajna
vmiklos at collabora.co.uk
Wed Jul 16 12:55:14 PDT 2014
solenv/gbuild/CppunitTest.mk | 1 +
1 file changed, 1 insertion(+)
New commits:
commit a3b6e0da35987af441042bd444c331d78a7c69b5
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Jul 16 21:02:32 2014 +0200
gbuild: set VCL_HIDE_WINDOWS for non-headless CppunitTests
This avoids the flashing window even on Linux, while making such tests
headless would make them fail.
Change-Id: I7cf8d410e257574f0177ca8b7e6465a5efd62280
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 622e16d..df5c61b 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -81,6 +81,7 @@ $(call gb_CppunitTest_get_target,%) :| $(gb_CppunitTest_CPPTESTDEPS)
($(gb_CppunitTest_CPPTESTPRECOMMAND) \
$(if $(G_SLICE),G_SLICE=$(G_SLICE)) \
$(if $(GLIBCXX_FORCE_NEW),GLIBCXX_FORCE_NEW=$(GLIBCXX_FORCE_NEW)) \
+ $(if $(HEADLESS),,VCL_HIDE_WINDOWS=1) \
$(ICECREAM_RUN) $(gb_CppunitTest_GDBTRACE) $(gb_CppunitTest_VALGRINDTOOL) $(gb_CppunitTest_CPPTESTCOMMAND) \
$(call gb_LinkTarget_get_target,$(call gb_CppunitTest_get_linktarget,$*)) \
$(call gb_CppunitTest__make_args) \
More information about the Libreoffice-commits
mailing list