summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2009-04-24 20:10:30 -0400
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2009-04-24 20:10:30 -0400
commit02ff6c5f65fa1f5cd380444aa0fba98bb45c159d (patch)
tree5cf527d0cfbe48da63a63262415405f84c3285c4 /tests
parentc4968e094c6bdf14f09dafa295696f6f356e38dd (diff)
downloadlibnice-02ff6c5f65fa1f5cd380444aa0fba98bb45c159d.tar.gz
Add UPnP support to libnice
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/test-thread.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 98069fc..cd94233 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -11,13 +11,14 @@ include $(top_srcdir)/common.mk
AM_CFLAGS = \
$(ERROR_CFLAGS) \
$(GLIB_CFLAGS) \
+ $(GUPNP_CFLAGS) \
-I $(top_srcdir) \
-I $(top_srcdir)/agent \
-I $(top_srcdir)/random \
-I $(top_srcdir)/socket \
-I $(top_srcdir)/stun
-COMMON_LDADD = $(top_builddir)/agent/libagent.la $(top_builddir)/socket/libsocket.la $(GLIB_LIBS)
+COMMON_LDADD = $(top_builddir)/agent/libagent.la $(top_builddir)/socket/libsocket.la $(GLIB_LIBS) $(GUPNP_LIBS)
check_PROGRAMS = \
test-bsd \
diff --git a/tests/test-thread.c b/tests/test-thread.c
index 21cece2..f2870b3 100644
--- a/tests/test-thread.c
+++ b/tests/test-thread.c
@@ -214,6 +214,8 @@ int main (void)
g_object_set (G_OBJECT (lagent), "controlling-mode", TRUE, NULL);
g_object_set (G_OBJECT (ragent), "controlling-mode", FALSE, NULL);
+ g_object_set (G_OBJECT (lagent), "upnp", FALSE, NULL);
+ g_object_set (G_OBJECT (ragent), "upnp", FALSE, NULL);
/* step: add a timer to catch state changes triggered by signals */
timer_id = g_timeout_add (30000, timer_cb, NULL);