diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-06-29 23:42:32 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-06-30 14:59:09 +0100 |
commit | 752a36457f6cddc5265a2d5f60157fd625f56b02 (patch) | |
tree | d6cebea7f8f1a9f9c40e3a0ffec38f719b018fcb /solenv | |
parent | a7540d9f59a172b81f075890f1835b21ec6ab7b3 (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
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Conflicts:
vcl/source/window/window.cxx
Change-Id: Ied2a36699b50856e0c4e6b618212481796ec99d3
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/macosx.mk | 3 |
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 |