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/peerinfo | |
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/peerinfo')
-rw-r--r-- | src/peerinfo/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peerinfo/Makefile.am b/src/peerinfo/Makefile.am index c3863ab65..59a0bddc5 100644 --- a/src/peerinfo/Makefile.am +++ b/src/peerinfo/Makefile.am | |||
@@ -46,12 +46,14 @@ if HAVE_BENCHMARKS | |||
46 | perf_peerinfo_api | 46 | perf_peerinfo_api |
47 | endif | 47 | endif |
48 | 48 | ||
49 | if HAVE_TESTING | ||
49 | check_PROGRAMS = \ | 50 | check_PROGRAMS = \ |
50 | test_peerinfo_shipped_hellos \ | 51 | test_peerinfo_shipped_hellos \ |
51 | test_peerinfo_api \ | 52 | test_peerinfo_api \ |
52 | test_peerinfo_api_friend_only \ | 53 | test_peerinfo_api_friend_only \ |
53 | test_peerinfo_api_notify_friend_only \ | 54 | test_peerinfo_api_notify_friend_only \ |
54 | $(PEERINFO_BENCHMARKS) | 55 | $(PEERINFO_BENCHMARKS) |
56 | endif | ||
55 | 57 | ||
56 | if ENABLE_TEST_RUN | 58 | if ENABLE_TEST_RUN |
57 | TESTS = $(check_PROGRAMS) | 59 | TESTS = $(check_PROGRAMS) |