Commit f64586fa by Vicent Marti

Add CTest support for CI

parent 737406b7
......@@ -92,4 +92,7 @@ IF (BUILD_TESTS)
ADD_EXECUTABLE(libgit2_test tests/test_main.c tests/test_lib.c tests/test_helpers.c ${SRC} ${SRC_PLAT} ${SRC_SHA1} ${SRC_TEST} ${SRC_ZLIB})
TARGET_LINK_LIBRARIES(libgit2_test ${CMAKE_THREAD_LIBS_INIT})
ENABLE_TESTING()
ADD_TEST(libgit2_test libgit2_test)
ENDIF ()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment