Skip to content
Snippets Groups Projects
Commit 8ab6cb1d authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing Test coverty mode

parent 84f3f69c
No related branches found
No related tags found
No related merge requests found
...@@ -169,6 +169,10 @@ if(TINYOBJLOADER_FOUND) ...@@ -169,6 +169,10 @@ if(TINYOBJLOADER_FOUND)
set(DEFINE_HAVE_TINYOBJLOADER "#define HAVE_TINYOBJLOADER 1") set(DEFINE_HAVE_TINYOBJLOADER "#define HAVE_TINYOBJLOADER 1")
endif() endif()
if (TEST_COVERAGE)
set(DEFINE_TEST_COVERAGE_MODE "#define TEST_COVERAGE_MODE")
endif()
file(WRITE error_code "0") file(WRITE error_code "0")
file(WRITE cuda_lib "${CUDA_cudart_static_LIBRARY} ${CUDA_cudadevrt_LIBRARY}") file(WRITE cuda_lib "${CUDA_cudart_static_LIBRARY} ${CUDA_cudadevrt_LIBRARY}")
file(WRITE cuda_include "-I${CUDA_INCLUDE_DIRS}") file(WRITE cuda_include "-I${CUDA_INCLUDE_DIRS}")
......
...@@ -246,7 +246,7 @@ template<typename solver_type,typename lid_nn_3d> void lid_driven_cavity_3d() ...@@ -246,7 +246,7 @@ template<typename solver_type,typename lid_nn_3d> void lid_driven_cavity_3d()
std::cout << "File1: " << file1 << std::endl; std::cout << "File1: " << file1 << std::endl;
std::cout << "File2: " << file2 << std::endl; std::cout << "File2: " << file2 << std::endl;
#if !(defined(SE_CLASS3) || defined(COVERTY_SCAN)) #if !(defined(SE_CLASS3) || defined(TEST_COVERTY_MODE))
// Check that match // Check that match
bool test = compare(file1,file2); bool test = compare(file1,file2);
......
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