Skip to content

Commit 058a0b0

Browse files
committed
Improving coverage
1 parent eb583a5 commit 058a0b0

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*.out
2828
*.app
2929

30-
build/*
30+
build*/*
3131
CHGCAR*
3232
*.png
3333
src/config.h

src/test/CMakeLists.txt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ pkg_check_modules(CPPUNIT REQUIRED IMPORTED_TARGET cppunit)
2222
add_library(unittest STATIC unittest.cpp)
2323
target_compile_features(unittest PUBLIC cxx_std_17)
2424

25-
set(EXECUTABLES TestIsosurface TestScalarField TestD2OFileFormat)
26-
27-
if(NOT USE_GCOV)
28-
list(APPEND EXECUTABLES TestGenerator)
29-
endif()
25+
set(EXECUTABLES TestIsosurface TestScalarField TestD2OFileFormat TestGenerator)
3026

3127
if(USE_GCOV)
3228
list(APPEND EXECUTABLES TestFileCreation)
@@ -35,10 +31,7 @@ endif()
3531
add_executable(TestIsosurface test_isosurface.cpp)
3632
add_executable(TestScalarField test_scalarfield.cpp)
3733
add_executable(TestD2OFileFormat test_d2o_fileformat.cpp)
38-
39-
if(NOT USE_GCOV)
40-
add_executable(TestGenerator test_generator.cpp)
41-
endif()
34+
add_executable(TestGenerator test_generator.cpp)
4235

4336
if(USE_GCOV)
4437
add_executable(TestFileCreation test_file_creation.cpp)

0 commit comments

Comments
 (0)