[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13377 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13377 - gnunet/src/transport |
Date: |
Fri, 22 Oct 2010 17:53:02 +0200 |
Author: wachs
Date: 2010-10-22 17:53:02 +0200 (Fri, 22 Oct 2010)
New Revision: 13377
Modified:
gnunet/src/transport/Makefile.am
gnunet/src/transport/test_quota_compliance.c
Log:
Modified: gnunet/src/transport/Makefile.am
===================================================================
--- gnunet/src/transport/Makefile.am 2010-10-22 15:45:39 UTC (rev 13376)
+++ gnunet/src/transport/Makefile.am 2010-10-22 15:53:02 UTC (rev 13377)
@@ -200,7 +200,8 @@
test_transport_api_reliability_tcp_nat \
test_transport_api_reliability_udp \
$(HTTP_REL_TEST) \
- $(HTTPS_REL_TEST)
+ $(HTTPS_REL_TEST) \
+ test_quota_compliance
# TODO: add tests for nat, etc.
if !DISABLE_TEST_RUN
@@ -216,7 +217,8 @@
test_transport_api_reliability_tcp \
test_transport_api_reliability_tcp_nat \
$(HTTP_REL_TEST) \
- $(HTTPS_REL_TEST)
+ $(HTTPS_REL_TEST) \
+ test_quota_compliance
endif
test_transport_api_tcp_SOURCES = \
@@ -303,6 +305,12 @@
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la
+test_quota_compliance_SOURCES = \
+ test_quota_compliance.c
+test_quota_compliance_LDADD = \
+ $(top_builddir)/src/transport/libgnunettransport.la \
+ $(top_builddir)/src/util/libgnunetutil.la
+
endif
EXTRA_DIST = \
@@ -324,4 +332,8 @@
test_transport_api_rel_http_peer2.conf \
test_transport_api_rel_https_peer1.conf \
test_transport_api_rel_https_peer2.conf \
- test_plugin_transport_data_http.conf
+ test_plugin_transport_data_http.conf \
+ test_plugin_transport_data.conf \
+ test_quota_compliance_data.conf \
+ test_quota_compliance_peer1.conf \
+ test_quota_compliance_peer2.conf
\ No newline at end of file
Modified: gnunet/src/transport/test_quota_compliance.c
===================================================================
--- gnunet/src/transport/test_quota_compliance.c 2010-10-22 15:45:39 UTC
(rev 13376)
+++ gnunet/src/transport/test_quota_compliance.c 2010-10-22 15:53:02 UTC
(rev 13377)
@@ -119,12 +119,12 @@
measurement_counter_task = GNUNET_SCHEDULER_NO_TASK;
}
GNUNET_SCHEDULER_shutdown (sched);
-#if VERBOSE
+#if DEBUG_CONNECTIONS
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from transports!\n");
#endif
GNUNET_TRANSPORT_disconnect (p1.th);
GNUNET_TRANSPORT_disconnect (p2.th);
-#if VERBOSE
+#if DEBUG_CONNECTIONS
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Transports disconnected, returning success!\n");
#endif
@@ -334,7 +334,7 @@
current_quota_p2 = quota_p2;
#if VERBOSE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Starting measurement: Duration: %u Quota: %u\n",
MEASUREMENT_INTERVALL, current_quota_p1);
+ "Starting transport level measurement: Duration: %u Quota:
%u\n", MEASUREMENT_INTERVALL, current_quota_p1);
#endif
GNUNET_TRANSPORT_set_quota (p1.th,
&p2.id,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13377 - gnunet/src/transport,
gnunet <=