Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
gcc 11.x fixes
[src/app-framework-binder.git]
/
src
/
tests
/
apiv3
/
test-apiv3.c
diff --git
a/src/tests/apiv3/test-apiv3.c
b/src/tests/apiv3/test-apiv3.c
index
dec1af9
..
9f89e74
100644
(file)
--- a/
src/tests/apiv3/test-apiv3.c
+++ b/
src/tests/apiv3/test-apiv3.c
@@
-16,6
+16,7
@@
#include "afb-api.h"
#include "afb-apiset.h"
#include "afb-api-v3.h"
#include "afb-api.h"
#include "afb-apiset.h"
#include "afb-api-v3.h"
+#include "verbose.h"
struct inapis {
struct afb_binding_v3 desc;
struct inapis {
struct afb_binding_v3 desc;
@@
-148,24
+149,26
@@
START_TEST (test)
{
int rc;
{
int rc;
+ verbosity_set(-1);
apiset = afb_apiset_create("test-apiv3", 1);
ck_assert_ptr_nonnull(apiset);
out_v3 = afb_api_v3_create(
apiset = afb_apiset_create("test-apiv3", 1);
ck_assert_ptr_nonnull(apiset);
out_v3 = afb_api_v3_create(
- apiset,
- apiset,
- out_apiname,
- NULL,
- 0,
- out_preinit,
- out_apiname,
- 0
- );
+ apiset,
+ apiset,
+ out_apiname,
+ NULL,
+ 0,
+ out_preinit,
+ out_apiname,
+ 0,
+ NULL,
+ NULL);
ck_assert_ptr_nonnull(out_v3);
ck_assert_ptr_nonnull(out_api);
/* start all services */
ck_assert_ptr_nonnull(out_v3);
ck_assert_ptr_nonnull(out_api);
/* start all services */
- rc = afb_apiset_start_all_services(apiset
, 1
);
+ rc = afb_apiset_start_all_services(apiset);
ck_assert_int_eq(rc, 0);
}
END_TEST
ck_assert_int_eq(rc, 0);
}
END_TEST