Skip to content
Snippets Groups Projects
Commit aea62418 authored by Ali Mohammed's avatar Ali Mohammed
Browse files

make cdo size always int64_t in all tests

parent b1fc342c
Branches
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ CHEAT_TEST(cdo_declaration_seal_works, ...@@ -61,7 +61,7 @@ CHEAT_TEST(cdo_declaration_seal_works,
mstro_cdo cdo=NULL; mstro_cdo cdo=NULL;
enum mstro_cdo_attr_value_type type; enum mstro_cdo_attr_value_type type;
const void* val; const void* val;
uint64_t size; int64_t size;
size = 16000; size = 16000;
cheat_assert(MSTRO_OK cheat_assert(MSTRO_OK
== mstro_cdo_declare( == mstro_cdo_declare(
......
...@@ -50,7 +50,7 @@ CHEAT_TEST(cdo_local_pool_mamba_works, ...@@ -50,7 +50,7 @@ CHEAT_TEST(cdo_local_pool_mamba_works,
char name[] = "Test CDO name üÜöÖäÄ"; char name[] = "Test CDO name üÜöÖäÄ";
mstro_cdo cdo=NULL; mstro_cdo cdo=NULL;
cheat_assert(MSTRO_OK == mstro_cdo_declare(name, MSTRO_ATTR_DEFAULT, &cdo)); cheat_assert(MSTRO_OK == mstro_cdo_declare(name, MSTRO_ATTR_DEFAULT, &cdo));
uint64_t size = 4096; int64_t size = 4096;
enum mstro_cdo_attr_value_type type; enum mstro_cdo_attr_value_type type;
float* buf; float* buf;
void *rec; void *rec;
...@@ -114,6 +114,3 @@ CHEAT_TEST(cdo_local_pool_mamba_works, ...@@ -114,6 +114,3 @@ CHEAT_TEST(cdo_local_pool_mamba_works,
cheat_assert(MSTRO_OK == mstro_finalize()); cheat_assert(MSTRO_OK == mstro_finalize());
free(buf); free(buf);
) )
...@@ -70,7 +70,7 @@ CHEAT_DECLARE ( ...@@ -70,7 +70,7 @@ CHEAT_DECLARE (
/* this tests MIO transport by using this single thread as both Producer and Consumer */ /* this tests MIO transport by using this single thread as both Producer and Consumer */
CHEAT_TEST(transport_mio_works, CHEAT_TEST(transport_mio_works,
size_t data_count = 1031; size_t data_count = 1031;
size_t bytes = data_count*sizeof(double); int64_t bytes = data_count*sizeof(double);
size_t pad = 0; size_t pad = 0;
double src_data[data_count]; double src_data[data_count];
for(size_t i=0; i<data_count; i++) { for(size_t i=0; i<data_count; i++) {
...@@ -217,6 +217,3 @@ CHEAT_DECLARE ( ...@@ -217,6 +217,3 @@ CHEAT_DECLARE (
cheat_assert(MSTRO_OK == mstro_finalize()); cheat_assert(MSTRO_OK == mstro_finalize());
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment