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
This commit is contained in:
Miklos Vajna
2014-07-16 21:02:32 +02:00
parent 2e6abb5d91
commit a3b6e0da35

View File

@@ -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) \