[gjs/wip/ptomato/autotools: 13/16] 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: 13/16] build: Skip Gtk.js test if GTK not detected
- Date: Tue, 27 Sep 2016 06:04:30 +0000 (UTC)
commit 852bf95977395e89ac5ef9696ecd62a3f3e36e85
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]