From 752a36457f6cddc5265a2d5f60157fd625f56b02 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 29 Jun 2014 23:42:32 +0200 Subject: use VCL_HIDE_WINDOWS env on Mac to 'simulate' headless mode on Mac Building, and running the unit/subsequent test on Mac cause massive amount of flashing windows creation/destruction that make building with test very annoying on a box used for other purposes. This patch prevent the windows to be actually displayed hence mitigating the problem Signed-off-by: Michael Meeks Conflicts: vcl/source/window/window.cxx Change-Id: Ied2a36699b50856e0c4e6b618212481796ec99d3 --- solenv/gbuild/platform/macosx.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'solenv') diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index 8d6f8341ce01..a40e054f00ab 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -17,6 +17,9 @@ # the License at http://www.apache.org/licenses/LICENSE-2.0 . # +# to avoid flashing windows during tests +export VCL_HIDE_WINDOWS=1 + gb_SDKDIR := $(MACOSX_SDK_PATH) include $(GBUILDDIR)/platform/com_GCC_defs.mk -- cgit v1.2.3