From bcd243793ee4174d71b5e61c88d2bc79fd0d7f1d Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 10 Apr 2014 14:01:03 +0200 Subject: [PATCH] CppunitTest_cppcanvas_emfplus: disable this in case there is no display to use This test is already disabled on non-Linux, but it fails in case there is no display to use. For now just disable it in that case. Change-Id: I29c52e803a1fca5f2bdeeb655c573ad8fef622e8 --- cppcanvas/Module_cppcanvas.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cppcanvas/Module_cppcanvas.mk b/cppcanvas/Module_cppcanvas.mk index 62ba638614b2..b341bc00d60b 100644 --- a/cppcanvas/Module_cppcanvas.mk +++ b/cppcanvas/Module_cppcanvas.mk @@ -30,9 +30,11 @@ $(eval $(call gb_Module_add_check_targets,cppcanvas,\ CppunitTest_cppcanvas_test \ )) +ifneq ($(DISPLAY),) $(eval $(call gb_Module_add_slowcheck_targets,cppcanvas,\ CppunitTest_cppcanvas_emfplus \ )) endif +endif # vim: set noet sw=4 ts=4: