23 lines
663 B
CMake
23 lines
663 B
CMake
project(libdaggy_tests)
|
|
|
|
add_executable(${PROJECT_NAME} main.cpp
|
|
# unit tests
|
|
unit_dag.cpp
|
|
unit_dagrunner.cpp
|
|
unit_dagrun_loggers.cpp
|
|
unit_executor_forkingexecutor.cpp
|
|
unit_executor_slurmexecutor.cpp
|
|
unit_executor_noopexecutor.cpp
|
|
unit_serialization.cpp
|
|
unit_threadpool.cpp
|
|
unit_utilities.cpp
|
|
unit_generallogger.cpp
|
|
# integration tests
|
|
int_basic.cpp
|
|
# Performance checks
|
|
perf_dag.cpp
|
|
)
|
|
target_link_libraries(${PROJECT_NAME} libdaggy stdc++fs Catch2::Catch2)
|
|
|
|
add_test(${PROJECT_NAME} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${PROJECT_NAME})
|