updates catch2 taest
This commit is contained in:
parent
b9f2344981
commit
b68b8c3045
|
@ -1,5 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/scc/cmake)
|
||||
cmake_policy(SET CMP0110 NEW)
|
||||
|
||||
project(SCC_Test)
|
||||
|
||||
|
@ -72,6 +73,8 @@ find_package(fmt)
|
|||
find_package(Catch2)
|
||||
|
||||
include(SystemCPackage)
|
||||
include(CTest)
|
||||
include(Catch)
|
||||
|
||||
enable_testing()
|
||||
|
||||
|
|
|
@ -6,4 +6,5 @@ add_executable(${PROJECT_NAME}
|
|||
)
|
||||
target_link_libraries (${PROJECT_NAME} PUBLIC test_util)
|
||||
|
||||
add_test(NAME narrow_burst COMMAND ${PROJECT_NAME})
|
||||
add_test(NAME narrow_burst COMMAND ${PROJECT_NAME})
|
||||
#catch_discover_tests(${PROJECT_NAME})
|
||||
|
|
|
@ -7,3 +7,4 @@ add_executable(${PROJECT_NAME}
|
|||
target_link_libraries (${PROJECT_NAME} PUBLIC test_util)
|
||||
|
||||
add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME})
|
||||
#catch_discover_tests(${PROJECT_NAME})
|
||||
|
|
Loading…
Reference in New Issue