diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-25 22:50:26 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-25 23:25:15 +0000 |
commit | 80f8458146061e5fe6edd97e06e039f1ad2cf3a9 (patch) | |
tree | 89502730a4d9f26c15946ce08820bc0abe4f4653 /auto_tests/Makefile.inc | |
parent | 17e8195a8f988a45b2822522bc7b967b3ebc3ca6 (diff) |
Run save_compatibility_test in the autotools build.
Diffstat (limited to 'auto_tests/Makefile.inc')
-rw-r--r-- | auto_tests/Makefile.inc | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/auto_tests/Makefile.inc b/auto_tests/Makefile.inc index f9cfae9f..6df92dcd 100644 --- a/auto_tests/Makefile.inc +++ b/auto_tests/Makefile.inc | |||
@@ -1,70 +1,67 @@ | |||
1 | if BUILD_TESTS | 1 | if BUILD_TESTS |
2 | 2 | ||
3 | TESTS = bootstrap_test \ | 3 | TESTS = \ |
4 | conference_double_invite_test \ | 4 | bootstrap_test \ |
5 | conference_peer_nick_test \ | 5 | conference_double_invite_test \ |
6 | conference_simple_test \ | 6 | conference_peer_nick_test \ |
7 | conference_test \ | 7 | conference_simple_test \ |
8 | conference_two_test \ | 8 | conference_test \ |
9 | crypto_test \ | 9 | conference_two_test \ |
10 | dht_test \ | 10 | crypto_test \ |
11 | encryptsave_test \ | 11 | dht_test \ |
12 | file_saving_test \ | 12 | encryptsave_test \ |
13 | file_transfer_test \ | 13 | file_saving_test \ |
14 | friend_connection_test \ | 14 | file_transfer_test \ |
15 | friend_request_test \ | 15 | friend_connection_test \ |
16 | invalid_tcp_proxy_test \ | 16 | friend_request_test \ |
17 | invalid_udp_proxy_test \ | 17 | invalid_tcp_proxy_test \ |
18 | lan_discovery_test \ | 18 | invalid_udp_proxy_test \ |
19 | lossless_packet_test \ | 19 | lan_discovery_test \ |
20 | lossy_packet_test \ | 20 | lossless_packet_test \ |
21 | messenger_test \ | 21 | lossy_packet_test \ |
22 | network_test \ | 22 | messenger_test \ |
23 | onion_test \ | 23 | network_test \ |
24 | overflow_recvq_test \ | 24 | onion_test \ |
25 | overflow_sendq_test \ | 25 | overflow_recvq_test \ |
26 | save_friend_test \ | 26 | overflow_sendq_test \ |
27 | save_load_test \ | 27 | save_compatibility_test \ |
28 | send_message_test \ | 28 | save_friend_test \ |
29 | set_name_test \ | 29 | save_load_test \ |
30 | set_status_message_test \ | 30 | send_message_test \ |
31 | skeleton_test \ | 31 | set_name_test \ |
32 | tcp_relay_test \ | 32 | set_status_message_test \ |
33 | TCP_test \ | 33 | skeleton_test \ |
34 | tox_many_tcp_test \ | 34 | tcp_relay_test \ |
35 | tox_many_test \ | 35 | TCP_test \ |
36 | tox_one_test \ | 36 | tox_many_tcp_test \ |
37 | tox_strncasecmp_test \ | 37 | tox_many_test \ |
38 | typing_test \ | 38 | tox_one_test \ |
39 | version_test | 39 | tox_strncasecmp_test \ |
40 | 40 | typing_test \ | |
41 | # TODO(iphydf): make save_compatibility_test work with travis autotools build. | 41 | version_test |
42 | # save_compatibility_test | ||
43 | |||
44 | check_PROGRAMS = $(TESTS) | ||
45 | 42 | ||
46 | AUTOTEST_CFLAGS = \ | 43 | AUTOTEST_CFLAGS = \ |
47 | $(LIBSODIUM_CFLAGS) \ | 44 | $(LIBSODIUM_CFLAGS) \ |
48 | $(NACL_CFLAGS) | 45 | $(NACL_CFLAGS) |
49 | 46 | ||
50 | AUTOTEST_LDADD = \ | 47 | AUTOTEST_LDADD = \ |
51 | $(LIBSODIUM_LDFLAGS) \ | 48 | $(LIBSODIUM_LDFLAGS) \ |
52 | $(NACL_LDFLAGS) \ | 49 | $(NACL_LDFLAGS) \ |
53 | libmisc_tools.la \ | 50 | libmisc_tools.la \ |
54 | libtoxcore.la \ | 51 | libtoxcore.la \ |
55 | libtoxencryptsave.la \ | 52 | libtoxencryptsave.la \ |
56 | $(LIBSODIUM_LIBS) \ | 53 | $(LIBSODIUM_LIBS) \ |
57 | $(NACL_OBJECTS) \ | 54 | $(NACL_OBJECTS) \ |
58 | $(NACL_LIBS) | 55 | $(NACL_LIBS) |
59 | |||
60 | 56 | ||
61 | 57 | ||
62 | if BUILD_AV | 58 | if BUILD_AV |
63 | TESTS += toxav_basic_test toxav_many_test | 59 | TESTS += toxav_basic_test toxav_many_test |
64 | check_PROGRAMS += toxav_basic_test toxav_many_test | ||
65 | AUTOTEST_LDADD += libtoxav.la | 60 | AUTOTEST_LDADD += libtoxav.la |
66 | endif | 61 | endif |
67 | 62 | ||
63 | check_PROGRAMS = $(TESTS) | ||
64 | |||
68 | bootstrap_test_SOURCES = ../auto_tests/bootstrap_test.c | 65 | bootstrap_test_SOURCES = ../auto_tests/bootstrap_test.c |
69 | bootstrap_test_CFLAGS = $(AUTOTEST_CFLAGS) | 66 | bootstrap_test_CFLAGS = $(AUTOTEST_CFLAGS) |
70 | bootstrap_test_LDADD = $(AUTOTEST_LDADD) | 67 | bootstrap_test_LDADD = $(AUTOTEST_LDADD) |
@@ -157,9 +154,9 @@ overflow_sendq_test_SOURCES = ../auto_tests/overflow_sendq_test.c | |||
157 | overflow_sendq_test_CFLAGS = $(AUTOTEST_CFLAGS) | 154 | overflow_sendq_test_CFLAGS = $(AUTOTEST_CFLAGS) |
158 | overflow_sendq_test_LDADD = $(AUTOTEST_LDADD) | 155 | overflow_sendq_test_LDADD = $(AUTOTEST_LDADD) |
159 | 156 | ||
160 | #save_compatibility_test_SOURCES = ../auto_tests/save_compatibility_test.c | 157 | save_compatibility_test_SOURCES = ../auto_tests/save_compatibility_test.c |
161 | #save_compatibility_test_CFLAGS = $(AUTOTEST_CFLAGS) | 158 | save_compatibility_test_CFLAGS = $(AUTOTEST_CFLAGS) |
162 | #save_compatibility_test_LDADD = $(AUTOTEST_LDADD) | 159 | save_compatibility_test_LDADD = $(AUTOTEST_LDADD) |
163 | 160 | ||
164 | save_friend_test_SOURCES = ../auto_tests/save_friend_test.c | 161 | save_friend_test_SOURCES = ../auto_tests/save_friend_test.c |
165 | save_friend_test_CFLAGS = $(AUTOTEST_CFLAGS) | 162 | save_friend_test_CFLAGS = $(AUTOTEST_CFLAGS) |
@@ -232,4 +229,7 @@ endif | |||
232 | endif | 229 | endif |
233 | 230 | ||
234 | 231 | ||
235 | EXTRA_DIST += $(top_srcdir)/auto_tests/check_compat.h $(top_srcdir)/auto_tests/run_auto_test.h | 232 | EXTRA_DIST += \ |
233 | $(top_srcdir)/auto_tests/data/save.tox \ | ||
234 | $(top_srcdir)/auto_tests/check_compat.h \ | ||
235 | $(top_srcdir)/auto_tests/run_auto_test.h | ||