diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-02-06 09:36:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-02-14 09:26:40 -0500 |
commit | acbde10fce5d688d70b5a4bfb3a736da838bb4cc (patch) | |
tree | 7a91744da5dd96bef81a5db2b3ae181fa2e934cb /src/test/include.am | |
parent | 490e187056d87ddd87981e0ea1b624b61bcbb666 (diff) | |
download | tor-acbde10fce5d688d70b5a4bfb3a736da838bb4cc.tar.gz tor-acbde10fce5d688d70b5a4bfb3a736da838bb4cc.zip |
Add a test-rng program so we can pipe to dieharder.
Diffstat (limited to 'src/test/include.am')
-rw-r--r-- | src/test/include.am | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/test/include.am b/src/test/include.am index 1b8f7f5ad3..8622fcbaa1 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -68,7 +68,8 @@ noinst_PROGRAMS+= \ src/test/test-process \ src/test/test_workqueue \ src/test/test-switch-id \ - src/test/test-timers + src/test/test-timers \ + src/test/test-rng endif src_test_AM_CPPFLAGS = -DSHARE_DATADIR="\"$(datadir)\"" \ @@ -258,7 +259,13 @@ src_test_test_LDADD = \ src_test_test_slow_CPPFLAGS = $(src_test_test_CPPFLAGS) src_test_test_slow_CFLAGS = $(src_test_test_CFLAGS) src_test_test_slow_LDADD = $(src_test_test_LDADD) -src_test_test_slow_LDFLAGS = $(src_test_test_LDFLAGS) +src_test_test_slow_LDFLAGS =@TOR_LDFLAGS_openssl@ + +src_test_test_rng_CPPFLAGS = $(src_test_test_CPPFLAGS) +src_test_test_rng_CFLAGS = $(src_test_test_CFLAGS) +src_test_test_rng_SOURCES = src/test/test_rng.c +src_test_test_rng_LDFLAGS = $(src_test_test_LDFLAGS) +src_test_test_rng_LDADD = $(src_test_test_LDADD) src_test_test_memwipe_CPPFLAGS = $(src_test_test_CPPFLAGS) # Don't use bugtrap cflags here: memwipe tests require memory violations. |