Imported Upstream version 0.1.17
[platform/upstream/libnice.git] / tests / Makefile.am
index 24738e6..473e5e0 100644 (file)
@@ -8,9 +8,6 @@
 
 include $(top_srcdir)/common.mk
 
-TESTS_ENVIRONMENT=\
-       GST_PLUGIN_PATH=${GST_PLUGIN_PATH}:$(top_builddir)/gst
-
 AM_CFLAGS = \
        $(LIBNICE_CFLAGS) \
        $(GLIB_CFLAGS) \
@@ -24,7 +21,8 @@ AM_CPPFLAGS = -DG_LOG_DOMAIN=\"libnice-tests\"
 
 AM_TESTS_ENVIRONMENT = \
        G_MESSAGES_DEBUG=all \
-       NICE_DEBUG=all
+       NICE_DEBUG=all \
+       GST_PLUGIN_PATH=${GST_PLUGIN_PATH}:$(top_builddir)/gst
 
 COMMON_LDADD = $(top_builddir)/agent/libagent.la $(top_builddir)/socket/libsocket.la $(GLIB_LIBS) $(GUPNP_LIBS)
 
@@ -58,7 +56,8 @@ check_PROGRAMS = \
        test-credentials \
        test-turn \
        test-drop-invalid \
-       test-nomination
+       test-nomination \
+       test-interfaces
 
 dist_check_SCRIPTS = \
        check-test-fullmode-with-stun.sh \
@@ -141,10 +140,13 @@ test_nomination_LDADD = $(COMMON_LDADD)
 test_gstreamer_CFLAGS = $(AM_CFLAGS) $(GST_CHECK_CFLAGS)
 test_gstreamer_LDADD = -lnice -L$(top_builddir)/nice/.libs $(GLIB_LIBS) $(GUPNP_LIBS) $(GST_CHECK_LIBS) $(GST_LIBS)
 
+test_interfaces_LDADD = $(COMMON_LDADD)
+
 all-local:
        chmod a+x $(srcdir)/check-test-fullmode-with-stun.sh
        chmod a+x $(srcdir)/test-pseudotcp-random.sh
 
 EXTRA_DIST = \
        libnice.supp \
-       meson.build
+       meson.build \
+       test-fullmode-with-stun.c