summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-04-10 14:01:03 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-04-10 14:08:16 +0200
commitbcd243793ee4174d71b5e61c88d2bc79fd0d7f1d (patch)
treee6246547c94e2f8d76ecce6b1164ec63bf69bff8
parentcb10a184b96b0f52ac8aa2b10b3dc218e76e752d (diff)
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
-rw-r--r--cppcanvas/Module_cppcanvas.mk2
1 files changed, 2 insertions, 0 deletions
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: