[gimp/soc-2011-gimpunitentry: 20/68] libgimpwidgets: allow test-unitentry to run in virtual framebuffer



commit 4341b55d2afb37d17ce420a5320e120e947bbb34
Author: Enrico Schröder <enni schroeder gmail com>
Date:   Mon Jun 13 14:38:06 2011 +0200

    libgimpwidgets: allow test-unitentry to run in virtual framebuffer

 libgimpwidgets/Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libgimpwidgets/Makefile.am b/libgimpwidgets/Makefile.am
index 2a39f81..3a098b4 100644
--- a/libgimpwidgets/Makefile.am
+++ b/libgimpwidgets/Makefile.am
@@ -46,6 +46,11 @@ install-ms-lib:
 uninstall-ms-lib:
 endif
 
+# Run tests with xvfb-run if available
+if HAVE_XVFB_RUN
+TESTS_ENVIRONMENT += $(XVFB_RUN) --server-args="-screen 0 1280x1024x24"
+endif
+
 libgimpwidgetsincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpwidgets
 
 AM_CPPFLAGS = \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]