gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25586 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r25586 - gnunet/src/mesh
Date: Thu, 20 Dec 2012 16:07:40 +0100

Author: bartpolot
Date: 2012-12-20 16:07:40 +0100 (Thu, 20 Dec 2012)
New Revision: 25586

Modified:
   gnunet/src/mesh/Makefile.am
   gnunet/src/mesh/test_mesh_small.c
Log:
- add new build for signal test

Modified: gnunet/src/mesh/Makefile.am
===================================================================
--- gnunet/src/mesh/Makefile.am 2012-12-20 15:05:19 UTC (rev 25585)
+++ gnunet/src/mesh/Makefile.am 2012-12-20 15:07:40 UTC (rev 25586)
@@ -173,6 +173,7 @@
  test_mesh_regex \
  test_mesh_small_unicast \
  test_mesh_small_multicast \
+ test_mesh_small_signal \
  test_mesh_small_speed \
  test_mesh_small_speed_nobuf \
  test_mesh_small_speed_min \
@@ -290,6 +291,17 @@
   libgnunetmeshtest.a \
   libgnunetmesh.la
 
+test_mesh_small_signal_SOURCES = \
+ test_mesh_small.c
+test_mesh_small_signal_LDADD = \
+  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
+  $(top_builddir)/src/mesh/libgnunetmesh.la \
+  $(top_builddir)/src/testbed/libgnunettestbed.la \
+  $(top_builddir)/src/util/libgnunetutil.la 
+test_mesh_small_signal_DEPENDENCIES = \
+  libgnunetmeshtest.a \
+  libgnunetmesh.la
+
 test_mesh_small_speed_ack_SOURCES = \
  test_mesh_small.c
 test_mesh_small_speed_ack_LDADD = \

Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c   2012-12-20 15:05:19 UTC (rev 25585)
+++ gnunet/src/mesh/test_mesh_small.c   2012-12-20 15:07:40 UTC (rev 25586)
@@ -526,7 +526,10 @@
         return GNUNET_OK;
       show_end_data();
     }
-    GNUNET_MESH_tunnel_destroy (t);
+    if (test == P2P_SIGNAL)
+      GNUNET_MESH_tunnel_destroy (incoming_t);
+    else
+      GNUNET_MESH_tunnel_destroy (t);
     t = NULL;
   }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]