aboutsummaryrefslogtreecommitdiff
path: root/test/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/config.c')
-rw-r--r--test/config.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/config.c b/test/config.c
deleted file mode 100644
index eb5d0ca..0000000
--- a/test/config.c
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#include "kpl_test.h"
-
-KPL_TEST(set_thread_count) {
- kpl_env env = {};
- int32_t argc = 4;
- char *argv[] = {"./kpl", "-t", "4", "file.kpl"};
- KPL_ASSERT(kpl_env_config(&env, argc, argv) == KPL_EXIT_CODE_SUCCESS, "Should return success");
- KPL_ASSERT(env.thread_count == 4, "Threads should not be -1");
-}
-
-KPL_TEST(set_io_uring_queue_pow2_size) {
- kpl_env env = {};
- int32_t argc = 4;
- char *argv[] = {"./kpl", "-i", "12", "file.kpl"};
- KPL_ASSERT(kpl_env_config(&env, argc, argv) == KPL_EXIT_CODE_SUCCESS, "Should return success");
- KPL_ASSERT(env.io_uring_queue_size_pow2 != KPL_IO_URING_QUEUE_SIZE_POW2_DEFAULT, "Should not be default");
-}