[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix benchmarks to run without crashing.
commit 2f2fa7683d768ce165e9fc5b6f22d2fdcd79d9ca
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Sep 18 21:42:38 2013 -0400
Fix benchmarks to run without crashing.
I broke this when I added separate test-mode support by having
the benchmarks get built with TEST_CFLAGS.
---
src/test/bench.c | 2 --
src/test/include.am | 2 --
2 files changed, 4 deletions(-)
diff --git a/src/test/bench.c b/src/test/bench.c
index ca01d3c..e650569 100644
--- a/src/test/bench.c
+++ b/src/test/bench.c
@@ -14,8 +14,6 @@ const char tor_git_revision[] = "";
#include "orconfig.h"
-#define RELAY_PRIVATE
-
#include "or.h"
#include "onion_tap.h"
#include "relay.h"
diff --git a/src/test/include.am b/src/test/include.am
index e3f2795..54adc40 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -45,8 +45,6 @@ src_test_test_CPPFLAGS= $(src_test_AM_CPPFLAGS)
src_test_bench_SOURCES = \
src/test/bench.c
-src_test_bench_CPPFLAGS= $(src_test_AM_CPPFLAGS)
-
src_test_test_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
@TOR_LDFLAGS_libevent@
src_test_test_LDADD = src/or/libtor-testing.a src/common/libor-testing.a \
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits