[tor-commits] [tor/master] Fix benchmarks to run without crashing.
nickm at torproject.org
nickm at torproject.org
Thu Sep 19 01:43:42 UTC 2013
commit 2f2fa7683d768ce165e9fc5b6f22d2fdcd79d9ca
Author: Nick Mathewson <nickm at torproject.org>
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 \
More information about the tor-commits
mailing list