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/ats | |
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/ats')
-rw-r--r-- | src/ats/Makefile.am | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/ats/Makefile.am b/src/ats/Makefile.am index 3f51e3cca..aff96a780 100644 --- a/src/ats/Makefile.am +++ b/src/ats/Makefile.am | |||
@@ -60,7 +60,8 @@ gnunet_service_ats_LDADD = \ | |||
60 | gnunet_service_ats_DEPENDENCIES = \ | 60 | gnunet_service_ats_DEPENDENCIES = \ |
61 | libgnunetats.la | 61 | libgnunetats.la |
62 | 62 | ||
63 | check_PROGRAMS = \ | 63 | if HAVE_TESTING |
64 | TESTING_TESTS = \ | ||
64 | test_ats_api_scheduling_init \ | 65 | test_ats_api_scheduling_init \ |
65 | test_ats_api_scheduling_add_address \ | 66 | test_ats_api_scheduling_add_address \ |
66 | test_ats_api_scheduling_add_session \ | 67 | test_ats_api_scheduling_add_session \ |
@@ -71,17 +72,22 @@ check_PROGRAMS = \ | |||
71 | test_ats_api_scheduling_destroy_session \ | 72 | test_ats_api_scheduling_destroy_session \ |
72 | test_ats_api_scheduling_destroy_inbound_connection \ | 73 | test_ats_api_scheduling_destroy_inbound_connection \ |
73 | test_ats_api_scheduling_block_and_reset \ | 74 | test_ats_api_scheduling_block_and_reset \ |
74 | test_ats_normalization_update_quality \ | 75 | test_ats_normalization_update_quality \ |
75 | test_ats_change_preference \ | 76 | test_ats_change_preference \ |
76 | test_ats_simplistic \ | 77 | test_ats_simplistic \ |
77 | test_ats_simplistic_switch_networks \ | 78 | test_ats_simplistic_switch_networks \ |
78 | test_ats_simplistic_change_preference \ | 79 | test_ats_simplistic_change_preference \ |
79 | test_ats_api_performance_list_addresses \ | 80 | test_ats_api_performance_list_addresses \ |
80 | test_ats_api_performance_address_info \ | 81 | test_ats_api_performance_address_info |
81 | $(GN_MLP_TEST) $(GN_MLP_PERF) $(GN_MLP_TEST_UPDATE) | ||
82 | # $(GN_MLP_TEST_AVG) | ||
83 | # test_ats_api_scheduling_get_type | 82 | # test_ats_api_scheduling_get_type |
84 | # test_ats_api_bandwidth_consumption | 83 | # test_ats_api_bandwidth_consumption |
84 | # test_ats_simplistic_pref_aging | ||
85 | endif | ||
86 | |||
87 | check_PROGRAMS = \ | ||
88 | $(TESTING_TESTS) | ||
89 | $(GN_MLP_TEST) $(GN_MLP_PERF) $(GN_MLP_TEST_UPDATE) | ||
90 | # $(GN_MLP_TEST_AVG) | ||
85 | 91 | ||
86 | if ENABLE_TEST_RUN | 92 | if ENABLE_TEST_RUN |
87 | TESTS = $(check_PROGRAMS) | 93 | TESTS = $(check_PROGRAMS) |