diff options
author | irungentoo <irungentoo@gmail.com> | 2014-06-14 11:31:56 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-06-14 11:31:56 -0400 |
commit | d6a9ce3175bc80f1b04694b3c1415807a1fbab18 (patch) | |
tree | 2550e74e7872539aa0b9f4cd3443472018a493f5 /testing/Makefile.inc | |
parent | 9c11c15385ff44609ac8438378a5bcb05d47c572 (diff) |
Fixed some issues in toxdns and added a test.
Added request_id.
request_id must be obtained with tox_generate_dns3_string, stored,
then passed to tox_decrypt_dns3_TXT when we want to decrypt the
received response.
Diffstat (limited to 'testing/Makefile.inc')
-rw-r--r-- | testing/Makefile.inc | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/testing/Makefile.inc b/testing/Makefile.inc index 2142b4ca..d29c5d55 100644 --- a/testing/Makefile.inc +++ b/testing/Makefile.inc | |||
@@ -24,7 +24,8 @@ if BUILD_TESTING | |||
24 | 24 | ||
25 | noinst_PROGRAMS += DHT_test \ | 25 | noinst_PROGRAMS += DHT_test \ |
26 | Messenger_test \ | 26 | Messenger_test \ |
27 | crypto_speed_test | 27 | crypto_speed_test \ |
28 | dns3_test | ||
28 | 29 | ||
29 | DHT_test_SOURCES = ../testing/DHT_test.c | 30 | DHT_test_SOURCES = ../testing/DHT_test.c |
30 | 31 | ||
@@ -71,6 +72,24 @@ crypto_speed_test_LDADD = \ | |||
71 | $(NACL_LIBS) \ | 72 | $(NACL_LIBS) \ |
72 | $(WINSOCK2_LIBS) | 73 | $(WINSOCK2_LIBS) |
73 | 74 | ||
75 | |||
76 | dns3_test_SOURCES = \ | ||
77 | ../testing/dns3_test.c | ||
78 | |||
79 | dns3_test_CFLAGS = \ | ||
80 | $(LIBSODIUM_CFLAGS) \ | ||
81 | $(NACL_CFLAGS) | ||
82 | |||
83 | dns3_test_LDADD = \ | ||
84 | $(LIBSODIUM_LDFLAGS) \ | ||
85 | $(NACL_LDFLAGS) \ | ||
86 | libtoxdns.la \ | ||
87 | libtoxcore.la \ | ||
88 | $(LIBSODIUM_LIBS) \ | ||
89 | $(NACL_OBJECTS) \ | ||
90 | $(NACL_LIBS) \ | ||
91 | $(WINSOCK2_LIBS) | ||
92 | |||
74 | if !WIN32 | 93 | if !WIN32 |
75 | 94 | ||
76 | noinst_PROGRAMS += tox_sync | 95 | noinst_PROGRAMS += tox_sync |