updates catch2 taest

This commit is contained in:
Eyck Jentzsch 2022-10-02 21:40:19 +02:00
parent b9f2344981
commit b68b8c3045
3 changed files with 6 additions and 1 deletions

View File

@ -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()

View File

@ -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})

View File

@ -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})