Skip to content
Snippets Groups Projects
Commit dd5b99c3 authored by kongr45gpen's avatar kongr45gpen
Browse files

Don't use a `test` target for Makefiles, since cmake complains

parent 618b70bd
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,10 @@ tests:
GIT_SUBMODULE_STRATEGY: normal
script:
- cmake .
- make test -j4
- ./test --use-colour yes
- make tests -j4
- ./tests --use-colour yes
after_script:
- ./test -r junit -o junit.xml
- ./tests -r junit -o junit.xml
artifacts:
reports:
junit: junit.xml
......
......@@ -18,6 +18,6 @@ add_executable(ecss_services src/main.cpp src/Message.cpp src/Service.cpp src/Se
IF(EXISTS "${PROJECT_SOURCE_DIR}/lib/Catch2/CMakeLists.txt")
add_subdirectory(lib/Catch2)
add_executable(test src/Message.cpp src/Services/TestService.cpp tests/tests.cpp tests/Message.cpp tests/TestPlatform.cpp tests/Services/TestService.cpp)
target_link_libraries(test Catch2::Catch2)
add_executable(tests src/Message.cpp src/Services/TestService.cpp test/tests.cpp test/Message.cpp test/TestPlatform.cpp test/Services/TestService.cpp)
target_link_libraries(tests Catch2::Catch2)
ENDIF()
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment