diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-06-27 06:11:55 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-06-27 06:11:55 +0000 |
commit | ea7eed529e12dcbed6a6775b818d8b93b9505f18 (patch) | |
tree | 521ba312e1268d1afb249db03c1b97d5a79181a1 /src/core | |
parent | 48e50f64d8c05b2a6dab327156ea86fc92f171cf (diff) | |
download | gnunet-ea7eed529e12dcbed6a6775b818d8b93b9505f18.tar.gz gnunet-ea7eed529e12dcbed6a6775b818d8b93b9505f18.zip |
Make building gnunet-testing lib optional.
This is all because emscripten doesn't have getaddrinfo.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am index 7e4cd7f54..ebe1ae1ce 100644 --- a/src/core/Makefile.am +++ b/src/core/Makefile.am | |||
@@ -60,6 +60,10 @@ gnunet_core_LDADD = \ | |||
60 | gnunet_core_DEPENDENCIES = \ | 60 | gnunet_core_DEPENDENCIES = \ |
61 | libgnunetcore.la | 61 | libgnunetcore.la |
62 | 62 | ||
63 | if HAVE_TESTING | ||
64 | TESTING_TESTS = test_core_api_send_to_self | ||
65 | endif | ||
66 | |||
63 | check_PROGRAMS = \ | 67 | check_PROGRAMS = \ |
64 | test_core_api_start_only \ | 68 | test_core_api_start_only \ |
65 | test_core_api \ | 69 | test_core_api \ |
@@ -67,7 +71,7 @@ check_PROGRAMS = \ | |||
67 | test_core_quota_compliance_symmetric \ | 71 | test_core_quota_compliance_symmetric \ |
68 | test_core_quota_compliance_asymmetric_send_limited \ | 72 | test_core_quota_compliance_asymmetric_send_limited \ |
69 | test_core_quota_compliance_asymmetric_recv_limited \ | 73 | test_core_quota_compliance_asymmetric_recv_limited \ |
70 | test_core_api_send_to_self | 74 | $(TESTING_TESTS) |
71 | 75 | ||
72 | if ENABLE_TEST_RUN | 76 | if ENABLE_TEST_RUN |
73 | TESTS = $(check_PROGRAMS) | 77 | TESTS = $(check_PROGRAMS) |