diff options
Diffstat (limited to 'test/config.c')
| -rw-r--r-- | test/config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/config.c b/test/config.c index a871243..978e003 100644 --- a/test/config.c +++ b/test/config.c @@ -1,7 +1,7 @@ #include "kpl_test.h" -KPL_TEST(config_show_help) { +KPL_TEST(show_help) { kpl_config config; const int32_t argc = 2; const char *argv[] = { "./kpl", "--help", "not_used" }; @@ -10,7 +10,7 @@ KPL_TEST(config_show_help) { KPL_ASSERT(code == KPL_EXIT_CODE_HELP, "Invalid help exit code"); } -KPL_TEST(config_change_module_extension) { +KPL_TEST(change_module_extension) { kpl_config config; const int32_t argc = 3; const char *argv[] = { "./kpl", "--module-extension=.l", "./file.l" }; @@ -20,7 +20,7 @@ KPL_TEST(config_change_module_extension) { KPL_ASSERT(strcmp(config.module_extension, ".l") == 0, "Invalid new module extension"); } -KPL_TEST(config_io_queue_pow2) { +KPL_TEST(io_queue_pow2) { kpl_config config; const int32_t argc = 3; const char *argv[] = { "./kpl", "--io-queue-pow2=14", "./file.kpl" }; @@ -30,7 +30,7 @@ KPL_TEST(config_io_queue_pow2) { KPL_ASSERT(config.io.queue_pow2 == 14, "Invalid io queue power of two"); } -KPL_TEST(config_thread_count) { +KPL_TEST(thread_count) { kpl_config config; const int32_t argc = 3; const char *argv[] = { "./kpl", "--thread-count=1", "./file.kpl" }; @@ -40,7 +40,7 @@ KPL_TEST(config_thread_count) { KPL_ASSERT(config.thread.count == 1, "Invalid thread count"); } -KPL_TEST(config_memory_pool_pow2) { +KPL_TEST(memory_pool_pow2) { kpl_config config; const int32_t argc = 3; const char *argv[] = { "./kpl", "--memory-pool-pow2=6,7", "./file.kpl" }; |
