Add gitea workflow
All checks were successful
libakerror CI Build / cmake_build (push) Successful in 2m39s
All checks were successful
libakerror CI Build / cmake_build (push) Successful in 2m39s
This commit is contained in:
@@ -3,6 +3,7 @@ project(akerror LANGUAGES C)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
include(CMakePackageConfigHelpers)
|
||||
include(CTest)
|
||||
|
||||
set(AKERR_USE_STDLIB 1 CACHE BOOL "Use the C standard library")
|
||||
set(akerror_install_cmakedir "${CMAKE_INSTALL_LIBDIR}/cmake/akerror")
|
||||
@@ -52,6 +53,12 @@ add_test(NAME err_cleanup COMMAND test_err_cleanup)
|
||||
add_test(NAME err_trace COMMAND test_err_trace)
|
||||
add_test(NAME err_improper_closure COMMAND test_err_improper_closure)
|
||||
|
||||
set_tests_properties(
|
||||
err_trace
|
||||
err_improper_closure
|
||||
PROPERTIES WILL_FAIL TRUE
|
||||
)
|
||||
|
||||
target_link_libraries(test_err_catch PRIVATE akerror)
|
||||
target_link_libraries(test_err_cleanup PRIVATE akerror)
|
||||
target_link_libraries(test_err_trace PRIVATE akerror)
|
||||
|
||||
Reference in New Issue
Block a user