10 #include "../../include/utils/logger.h"
49 #pragma GCC diagnostic ignored "-Wunused-parameter"
51 bool args[2] = {
false,
true};
52 for (
int i = 0; i < 2; i++) {
60 pthread_attr_t attrs[4];
61 for (
int i = 0; i < 4; i++) {
62 pthread_attr_init(&attrs[i]);
65 for (
int i = 0; i < 4; i++) {
66 pthread_join(threads[i], NULL);
67 pthread_attr_destroy(&attrs[i]);
73 #pragma GCC diagnostic ignored "-Wunused-parameter"
75 bool args[2] = {
false,
true};
76 for (
int i = 0; i < 2; i++) {
84 pthread_attr_t attrs[4];
85 for (
int i = 0; i < 4; i++) {
86 pthread_attr_init(&attrs[i]);
89 for (
int i = 0; i < 4; i++) {
90 pthread_join(threads[i], NULL);
91 pthread_attr_destroy(&attrs[i]);
98 const struct CMUnitTest tests[] = {
102 return cmocka_run_group_tests(tests, NULL, NULL);