mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Work on better CI integration.
This commit is contained in:
parent
7d89059b17
commit
b84593086f
@ -16,9 +16,10 @@ if(NOT DEFINED ENV{GHC_COVERAGE})
|
|||||||
ParseAndAddCatchTests(filesystem_test filesystem_test)
|
ParseAndAddCatchTests(filesystem_test filesystem_test)
|
||||||
AddExecutableWithStdFS(std_filesystem_test filesystem_test.cpp catch.hpp)
|
AddExecutableWithStdFS(std_filesystem_test filesystem_test.cpp catch.hpp)
|
||||||
else()
|
else()
|
||||||
|
message("Generating test runner for coverage run...")
|
||||||
add_executable(filesystem_test filesystem_test.cpp catch.hpp)
|
add_executable(filesystem_test filesystem_test.cpp catch.hpp)
|
||||||
target_link_libraries(filesystem_test ghc_filesystem --coverage)
|
target_compile_options(filesystem_test PUBLIC --coverage)
|
||||||
target_compile_options(filesystem_test PRIVATE "--coverage")
|
target_link_libraries(filesystem_test PUBLIC ghc_filesystem --coverage)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_executable(multifile_test multi1.cpp multi2.cpp catch.hpp)
|
add_executable(multifile_test multi1.cpp multi2.cpp catch.hpp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user