-CMAKE_MINIMUM_REQUIRED(VERSION 3.25.1)
\ No newline at end of file
+CMAKE_MINIMUM_REQUIRED(VERSION 3.25.1)
+
+FIND_LIBRARY(cmocka NAMES cmocka REQUIRED)
+
+INCLUDE(CTest)
+
+ADD_EXECUTABLE(rename_tests rename_tests.c)
+TARGET_LINK_LIBRARIES(rename_tests ${cmocka})
+
+ADD_TEST(NAME rename_tests COMMAND rename_tests)
+
+ADD_CUSTOM_TARGET(run_tests ALL ctest)
\ No newline at end of file
--- /dev/null
+#include <stdarg.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <setjmp.h>
+#include <cmocka.h>
+
+void sanity_check()
+{
+ assert_true(1);
+}
+
+int main()
+{
+ const struct CMUnitTest tests[] = {
+ cmocka_unit_test(sanity_check)
+ };
+
+ return cmocka_run_group_tests(tests, NULL, NULL);
+}
\ No newline at end of file