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



commit 04f68e26b2988a63fcfe2b725ae57616dd841c13
Author: Enrico SchroÌ?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 b8e77a6..ba6d288 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]