Commit d3a7a352 by Edward Thomson

cmake: move test enablement into test cmake

parent 207beff5
......@@ -111,7 +111,6 @@ include(DefaultCFlags)
add_subdirectory(src)
if(BUILD_TESTS)
enable_testing()
add_subdirectory(tests)
endif()
......
......@@ -62,6 +62,8 @@ function(ADD_CLAR_TEST name)
endif()
endfunction(ADD_CLAR_TEST)
enable_testing()
add_clar_test(offline -v -xonline)
add_clar_test(invasive -v -score::ftruncate -sfilter::stream::bigfile -sodb::largefiles -siterator::workdir::filesystem_gunk -srepo::init -srepo::init::at_filesystem_root)
add_clar_test(online -v -sonline -xonline::customcert)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment