|
@@ -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
|