mirror of https://github.com/minetest/minetest.git
Register Catch2 tests with CTest
This commit is contained in:
parent
a73e6895d8
commit
595e519cdf
|
@ -18,3 +18,9 @@ target_link_libraries(tests
|
|||
Catch2::Catch
|
||||
IrrlichtMt::IrrlichtMt
|
||||
)
|
||||
|
||||
add_test(
|
||||
NAME tests
|
||||
COMMAND "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/tests"
|
||||
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue