summaryrefslogtreecommitdiff
path: root/libcr_ipc/tests/config.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-25 08:28:13 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-26 20:23:53 -0700
commit88f2b88c3889e9dd0c894d389d67b17617412094 (patch)
tree2b0f8535735f7eee56cd7ac5abb1d169c9d5e252 /libcr_ipc/tests/config.h
parenta8dc3fc4ad08c159243271c403848d23261aa699 (diff)
wip: libcr_ipc: Add some tests
Diffstat (limited to 'libcr_ipc/tests/config.h')
-rw-r--r--libcr_ipc/tests/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libcr_ipc/tests/config.h b/libcr_ipc/tests/config.h
new file mode 100644
index 0000000..949a82f
--- /dev/null
+++ b/libcr_ipc/tests/config.h
@@ -0,0 +1,19 @@
+/* config.h - TODO
+ *
+ * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+#ifndef _CONFIG_H_
+#define _CONFIG_H_
+
+#define CONFIG_COROUTINE_DEFAULT_STACK_SIZE (4*1024)
+#define CONFIG_COROUTINE_NAME_LEN 16
+#define CONFIG_COROUTINE_NUM 8
+
+#define CONFIG_COROUTINE_MEASURE_STACK 1
+#define CONFIG_COROUTINE_PROTECT_STACK 1
+#define CONFIG_COROUTINE_DEBUG 1
+#define CONFIG_COROUTINE_VALGRIND 1
+
+#endif /* _CONFIG_H_ */