summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-18 17:25:27 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-18 17:25:27 +0400
commit429c47515230ca54aa7c54b79fb6b1be8e0ce92e (patch)
tree2cc94040e7393744abc5511314b0216e3ed153b6
parent58a189b8c94447ffe8ea0464d371dc774113e44a (diff)
downloadkit-429c47515230ca54aa7c54b79fb6b1be8e0ce92e.zip
test
-rw-r--r--source/test/unittests/condition_variable.test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/test/unittests/condition_variable.test.c b/source/test/unittests/condition_variable.test.c
index c9d818a..f354b4c 100644
--- a/source/test/unittests/condition_variable.test.c
+++ b/source/test/unittests/condition_variable.test.c
@@ -3,6 +3,8 @@
#define KIT_TEST_FILE condition_variable
#include "../../kit_test/test.h"
+#include <stdio.h>
+
typedef struct {
mtx_t m;
cnd_t send;
@@ -30,6 +32,8 @@ static int test_run(void *p) {
}
TEST("condition variable") {
+ printf("\n\n%% condition variable\n\n");
+
test_data_t data;
REQUIRE(mtx_init(&data.m, mtx_plain) == thrd_success);
REQUIRE(cnd_init(&data.send) == thrd_success);