aboutsummaryrefslogtreecommitdiff
path: root/src/test/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-18 09:37:13 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-04-30 11:11:39 -0400
commit11eaed66bbc2105942c26a2dc9e502ce77e08b69 (patch)
tree48bd314c661b5d267f52f9f5ada97a4c4dee6293 /src/test/include.am
parentf021ca2d52da262e14706498190de5fe7859e00b (diff)
downloadtor-11eaed66bbc2105942c26a2dc9e502ce77e08b69.tar.gz
tor-11eaed66bbc2105942c26a2dc9e502ce77e08b69.zip
Add support for deterministic override of crypto_rand() in tests
We had this previously, but we did it differently in different places. This implementation is pulled from test_prob_distr.c
Diffstat (limited to 'src/test/include.am')
-rw-r--r--src/test/include.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/include.am b/src/test/include.am
index 497aa320a4..022cdbe035 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -89,6 +89,7 @@ src_test_test_SOURCES += \
src/test/log_test_helpers.c \
src/test/hs_test_helpers.c \
src/test/rend_test_helpers.c \
+ src/test/rng_test_helpers.c \
src/test/test.c \
src/test/test_accounting.c \
src/test/test_addr.c \
@@ -211,6 +212,7 @@ endif
src_test_test_slow_SOURCES =
if UNITTESTS_ENABLED
src_test_test_slow_SOURCES += \
+ src/test/rng_test_helpers.c \
src/test/test_slow.c \
src/test/test_crypto_slow.c \
src/test/test_process_slow.c \
@@ -319,6 +321,7 @@ noinst_HEADERS+= \
src/test/hs_test_helpers.h \
src/test/log_test_helpers.h \
src/test/rend_test_helpers.h \
+ src/test/rng_test_helpers.h \
src/test/test.h \
src/test/ptr_helpers.h \
src/test/test_helpers.h \