[gjs/wip/ptomato/autotools: 14/18] build: Skip Gtk.js test if GTK not	detected
- From: Philip Chimento <pchimento src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gjs/wip/ptomato/autotools: 14/18] build: Skip Gtk.js test if GTK not	detected
 
- Date: Wed, 28 Sep 2016 06:48:29 +0000 (UTC)
 
commit 274f40123e252d1a1fbf741a237e2219bec01a89
Author: Philip Chimento <philip chimento gmail com>
Date:   Mon Sep 26 22:43:47 2016 -0700
    build: Skip Gtk.js test if GTK not detected
    
    If GJS was not compiled with support for GTK, then there is no point in
    running this test.
 Makefile-test.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/Makefile-test.am b/Makefile-test.am
index 363e8e8..029b8b1 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -30,6 +30,10 @@ RUN_WITH_DBUS =
 TEST_PROGS_OPTIONS += -s /js/GDBus
 endif
 
+if !ENABLE_GTK
+TEST_PROGS_OPTIONS += -s /js/Gtk
+endif
+
 GTESTER = ${XVFB_START} ${TESTS_ENVIRONMENT} ${RUN_WITH_DBUS} gtester
 CLEANFILES += uninstalled-system-test-bus.conf uninstalled-test-bus.conf
 clean-local: test-user-data-clean
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]