summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-06-29 23:42:32 +0200
committerMichael Meeks <michael.meeks@collabora.com>2014-06-30 11:14:12 +0100
commitc403286de572272ac7d2f1f1012d69d058f7e4f3 (patch)
tree2f8bcfba37d0daad95bc214ab8c1292c14954e94 /solenv
parentbc73014e16bf0ae3c19d68b3219dee0b7e3ab2bc (diff)
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 Change-Id: Ied2a36699b50856e0c4e6b618212481796ec99d3
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/macosx.mk3
1 files changed, 3 insertions, 0 deletions
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