diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2018-06-02 12:53:04 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2018-06-02 12:53:04 +0300 |
commit | b7fae0f48ce63371cd2454a0b59d423778a2a7c6 (patch) | |
tree | 760732b56f1b4bb82daf3a3a4aa051b18e1af3cf /src/test/include.am | |
parent | d7bbfd0f6217181fc7f4a4a71d23874873a5262a (diff) | |
download | tor-b7fae0f48ce63371cd2454a0b59d423778a2a7c6.tar.gz tor-b7fae0f48ce63371cd2454a0b59d423778a2a7c6.zip |
Heed --disable-unittests properly
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 9543635c84..48257467af 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -79,7 +79,10 @@ src_test_AM_CPPFLAGS = -DSHARE_DATADIR="\"$(datadir)\"" \ # This seems to matter nowhere but on Windows, but I assure you that it # matters a lot there, and is quite hard to debug if you forget to do it. -src_test_test_SOURCES = \ +src_test_test_SOURCES = + +if UNITTESTS_ENABLED +src_test_test_SOURCES += \ src/test/log_test_helpers.c \ src/test/hs_test_helpers.c \ src/test/rend_test_helpers.c \ @@ -178,14 +181,18 @@ src_test_test_SOURCES = \ src/test/testing_common.c \ src/test/testing_rsakeys.c \ src/ext/tinytest.c +endif -src_test_test_slow_SOURCES = \ +src_test_test_slow_SOURCES = +if UNITTESTS_ENABLED +src_test_test_slow_SOURCES += \ src/test/test_slow.c \ src/test/test_crypto_slow.c \ src/test/test_util_slow.c \ src/test/testing_common.c \ src/test/testing_rsakeys.c \ src/ext/tinytest.c +endif src_test_test_memwipe_SOURCES = \ src/test/test-memwipe.c |