diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-22 18:29:20 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-23 01:05:00 +0000 |
commit | b2a2a0bbc7c3aac655bc9efc1c8f385adfe90a3f (patch) | |
tree | aa371fe57a4859c18f61b3bead5f532f3d50437b /auto_tests | |
parent | 223745e0782602c780c0d66b0c342750fdbd58db (diff) |
Link all tests to the android cpufeatures library if available.
This is needed for libvpx to work on android.
This also means that we can upload our test binaries to an android device
and actually run them, now that libcheck is no longer a blocker.
Diffstat (limited to 'auto_tests')
-rw-r--r-- | auto_tests/file_saving_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto_tests/file_saving_test.c b/auto_tests/file_saving_test.c index 11c81ad2..8aa14dc3 100644 --- a/auto_tests/file_saving_test.c +++ b/auto_tests/file_saving_test.c | |||
@@ -61,7 +61,7 @@ static void save_data_encrypted(void) | |||
61 | } | 61 | } |
62 | 62 | ||
63 | size_t written_value = fwrite(cipher, sizeof(*cipher), size, f); | 63 | size_t written_value = fwrite(cipher, sizeof(*cipher), size, f); |
64 | printf("written written_value = %li of %li\n", written_value, size); | 64 | printf("written written_value = %zu of %zu\n", written_value, size); |
65 | 65 | ||
66 | free(cipher); | 66 | free(cipher); |
67 | free(clear); | 67 | free(clear); |
@@ -79,7 +79,7 @@ static void load_data_decrypted(void) | |||
79 | uint8_t *cipher = (uint8_t *)malloc(size); | 79 | uint8_t *cipher = (uint8_t *)malloc(size); |
80 | uint8_t *clear = (uint8_t *)malloc(size - TOX_PASS_ENCRYPTION_EXTRA_LENGTH); | 80 | uint8_t *clear = (uint8_t *)malloc(size - TOX_PASS_ENCRYPTION_EXTRA_LENGTH); |
81 | size_t read_value = fread(cipher, sizeof(*cipher), size, f); | 81 | size_t read_value = fread(cipher, sizeof(*cipher), size, f); |
82 | printf("read read_vavue = %li of %li\n", read_value, size); | 82 | printf("read read_vavue = %zu of %ld\n", read_value, size); |
83 | 83 | ||
84 | TOX_ERR_DECRYPTION derr; | 84 | TOX_ERR_DECRYPTION derr; |
85 | 85 | ||