diff options
author | iphydf <iphydf@users.noreply.github.com> | 2017-06-04 20:58:28 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2017-06-05 13:45:20 +0000 |
commit | cb69b8a986b050020e175654a68ca62b6bfb8bc7 (patch) | |
tree | cb9015459cc86a127663259702fe12d0ca20c3f3 /auto_tests/crypto_test.c | |
parent | 7f5b057b05ab9262c878aef03dc92d3fbdad31ad (diff) |
Build tests on appveyor, the MSVC build.
Tests are not actually ran on appveyor for now, since they all fault for
some reason. For now, we just build them. Also, some tests are disabled
on msvc entirely, because they don't even compile. We'll need to look
into those, later. They are disabled using `MSVC_DONT_BUILD`.
Diffstat (limited to 'auto_tests/crypto_test.c')
-rw-r--r-- | auto_tests/crypto_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/auto_tests/crypto_test.c b/auto_tests/crypto_test.c index 952b0312..2fdfb0cd 100644 --- a/auto_tests/crypto_test.c +++ b/auto_tests/crypto_test.c | |||
@@ -2,9 +2,8 @@ | |||
2 | #include "config.h" | 2 | #include "config.h" |
3 | #endif | 3 | #endif |
4 | 4 | ||
5 | #include "../toxcore/net_crypto.h" | 5 | #include "check_compat.h" |
6 | 6 | ||
7 | #include <check.h> | ||
8 | #include <stdint.h> | 7 | #include <stdint.h> |
9 | #include <stdlib.h> | 8 | #include <stdlib.h> |
10 | #include <string.h> | 9 | #include <string.h> |
@@ -13,6 +12,8 @@ | |||
13 | 12 | ||
14 | #include "helpers.h" | 13 | #include "helpers.h" |
15 | 14 | ||
15 | #include "../toxcore/net_crypto.h" | ||
16 | |||
16 | static void rand_bytes(uint8_t *b, size_t blen) | 17 | static void rand_bytes(uint8_t *b, size_t blen) |
17 | { | 18 | { |
18 | size_t i; | 19 | size_t i; |