Skip to content

Commit

Permalink
tests doesnt work on git action
Browse files Browse the repository at this point in the history
  • Loading branch information
mtuncbilek95 committed Nov 2, 2024
1 parent c7cc096 commit 63c3ef9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ include(SetupConfig)
SetupConfig()

option(ENABLE_CATCH_TEST "Enable testing" ON) # This one needs to be set ON or OFF in Build/${BuildType-OS}/CMakeCache.txt

if(ENABLE_CATCH_TEST)
enable_testing()
endif()
# ------------------------------------------------------------

# ----------------------- SUBDIRECTORIES ---------------------
Expand Down
2 changes: 1 addition & 1 deletion Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ list(APPEND CMAKE_MODULE_PATH ${Catch2_SOURCE_DIR}/contrib)

include(CTest)
include(Catch)
catch_discover_tests(Tests)
catch_discover_tests(Tests)

0 comments on commit 63c3ef9

Please sign in to comment.