[pygobject] Disable GI tests when introspection disabled
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Disable GI tests when introspection disabled
- Date: Fri, 24 Sep 2010 09:21:00 +0000 (UTC)
commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
Author: John Stowers <john stowers gmail com>
Date: Fri Sep 24 21:20:53 2010 +1200
Disable GI tests when introspection disabled
tests/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index cf3c4f1..7a1d4ba 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,6 @@
CLEANFILES =
+if ENABLE_INTROSPECTION
# noinst_ always builds a static library
testlib_LTLIBRARIES = libregress.la libgimarshallingtests.la
testlibdir = $(prefix)/unused
@@ -36,6 +37,7 @@ GIMarshallingTests-1.0.typelib: GIMarshallingTests-1.0.gir Makefile
$(AM_V_GEN) g-ir-compiler $< -o $@
CLEANFILES += Regress-1.0.gir Regress-1.0.typelib GIMarshallingTests-1.0.gir GIMarshallingTests-1.0.typelib
+endif
noinst_LTLIBRARIES = testhelper.la
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]