[gjs] build: Skip Gtk.js test if GTK not detected
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] build: Skip Gtk.js test if GTK not detected
- Date: Fri, 30 Sep 2016 20:05:44 +0000 (UTC)
commit d2426d374fff8ee382d696113701482eecfe6888
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.
https://bugzilla.gnome.org/show_bug.cgi?id=772027
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]