Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
6851e5e5
Commit
6851e5e5
authored
May 05, 2015
by
Gautier Pelloux-Prayer
Browse files
bc_tester_utils.h: fix some macros and update ms2 as well
parent
dc4ee10c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mediastreamer2
mediastreamer2
+1
-1
tester/common/bc_tester_utils.h
tester/common/bc_tester_utils.h
+2
-2
No files found.
mediastreamer2
@
ca5e8a01
Subproject commit
d584fc65538391e95785461a9082b885a5171938
Subproject commit
ca5e8a01b73f0c8fe0e3eddfd58221cf1c9e33ff
tester/common/bc_tester_utils.h
View file @
6851e5e5
...
...
@@ -132,7 +132,7 @@ char * bc_tester_res(const char *name);
}
#define BC_ASSERT_GREATER_INT(actual, expected) { \
int cactual = (actual), cexpected = (expected); \
if (! BC_ASSERT_
LOW
ER(cactual, cexpected)) { \
if (! BC_ASSERT_
GREAT
ER(cactual, cexpected)) { \
bc_tester_printf(bc_printf_verbosity_error, "%s:%d - Expected " #actual " >= " #expected " but was %d < %d\n", __FILE__, __LINE__, cactual, cexpected); \
} \
}
...
...
@@ -150,7 +150,7 @@ char * bc_tester_res(const char *name);
}
#define BC_ASSERT_LOWER_UINT64_T(actual, expected) { \
uint64_t cactual = (actual), cexpected = (expected); \
if (! BC_ASSERT_
GREAT
ER(cactual, cexpected)) { \
if (! BC_ASSERT_
LOW
ER(cactual, cexpected)) { \
bc_tester_printf(bc_printf_verbosity_error, "%s:%d - Expected " #actual " <= " #expected " but was %lu > %lu\n", __FILE__, __LINE__, (long unsigned)cactual, (long unsigned)cexpected); \
} \
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment