aboutsummaryrefslogtreecommitdiff
path: root/src/common/include.am
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2015-03-20 13:12:09 +0100
committerSebastian Hahn <sebastian@torproject.org>2015-03-21 02:34:44 +0100
commit1228dd293b60a8eaab03472fa29428c5e2752c44 (patch)
tree4fd6ddc086e7baf44dbbde8f79d8e7b6a182ffc2 /src/common/include.am
parent348f2744cf0d026b1bd06a11d599f0ecf675038d (diff)
downloadtor-1228dd293b60a8eaab03472fa29428c5e2752c44.tar.gz
tor-1228dd293b60a8eaab03472fa29428c5e2752c44.zip
Disable assertions during coverage builds
This removes roughly 5000 branches in my testing. We never want to trigger assertions even during tests, so this is sane. Implements #15400.
Diffstat (limited to 'src/common/include.am')
-rw-r--r--src/common/include.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/include.am b/src/common/include.am
index ec4893594b..00e0055330 100644
--- a/src/common/include.am
+++ b/src/common/include.am
@@ -96,9 +96,9 @@ src_common_libor_testing_a_SOURCES = $(LIBOR_A_SOURCES)
src_common_libor_crypto_testing_a_SOURCES = $(LIBOR_CRYPTO_A_SOURCES)
src_common_libor_event_testing_a_SOURCES = $(LIBOR_EVENT_A_SOURCES)
-src_common_libor_testing_a_CPPFLAGS = -DTOR_UNIT_TESTS $(AM_CPPFLAGS)
-src_common_libor_crypto_testing_a_CPPFLAGS = -DTOR_UNIT_TESTS $(AM_CPPFLAGS)
-src_common_libor_event_testing_a_CPPFLAGS = -DTOR_UNIT_TESTS $(AM_CPPFLAGS)
+src_common_libor_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
+src_common_libor_crypto_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
+src_common_libor_event_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
src_common_libor_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
src_common_libor_crypto_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
src_common_libor_event_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)