forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: add coverage check * docs: add doc for generating code coverage report. * build: remove install path parameter.
- Loading branch information
1 parent
7d40992
commit 3be893a
Showing
36 changed files
with
290 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,7 @@ add_library( | |
input_conv.cpp | ||
input_update.cpp | ||
) | ||
|
||
if(ENABLE_COVERAGE) | ||
add_coverage(driver) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,8 @@ add_library( | |
read_cell_pseudopots.cpp | ||
setup_nonlocal.cpp | ||
) | ||
|
||
if(ENABLE_COVERAGE) | ||
add_coverage(cell) | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
if(ENABLE_DEEPKS) | ||
list(APPEND objects | ||
LCAO_deepks.cpp | ||
LCAO_deepks_fdelta.cpp | ||
LCAO_deepks_odelta.cpp | ||
LCAO_deepks_io.cpp | ||
LCAO_deepks_mpi.cpp | ||
LCAO_deepks_pdm.cpp | ||
LCAO_deepks_psialpha.cpp | ||
LCAO_deepks_torch.cpp | ||
LCAO_deepks_vdelta.cpp | ||
) | ||
|
||
add_library( | ||
deepks | ||
OBJECT | ||
${objects} | ||
) | ||
list(APPEND objects | ||
LCAO_deepks.cpp | ||
LCAO_deepks_fdelta.cpp | ||
LCAO_deepks_odelta.cpp | ||
LCAO_deepks_io.cpp | ||
LCAO_deepks_mpi.cpp | ||
LCAO_deepks_pdm.cpp | ||
LCAO_deepks_psialpha.cpp | ||
LCAO_deepks_torch.cpp | ||
LCAO_deepks_vdelta.cpp | ||
) | ||
|
||
IF (BUILD_TESTING) | ||
add_subdirectory(test) | ||
endif() | ||
add_library( | ||
deepks | ||
OBJECT | ||
${objects} | ||
) | ||
|
||
if(ENABLE_COVERAGE) | ||
add_coverage(deepks) | ||
endif() | ||
|
||
if(BUILD_TESTING) | ||
add_subdirectory(test) | ||
endif() | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,7 @@ add_library( | |
${objects} | ||
) | ||
|
||
if(ENABLE_COVERAGE) | ||
add_coverage(esolver) | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,7 @@ add_library( | |
OBJECT | ||
${objects} | ||
) | ||
|
||
if(ENABLE_COVERAGE) | ||
add_coverage(gint) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,7 @@ add_library( | |
overlap_lcao.cpp | ||
deepks_lcao.cpp | ||
) | ||
|
||
if(ENABLE_COVERAGE) | ||
add_coverage(operator_ks_lcao) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,7 @@ add_library( | |
meta_pw.cpp | ||
velocity_pw.cpp | ||
) | ||
|
||
if(ENABLE_COVERAGE) | ||
add_coverage(operator_ks_pw) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
add_library(genelpa OBJECT elpa_new.cpp elpa_new_real.cpp elpa_new_complex.cpp utils.cpp) | ||
|
||
if(ENABLE_COVERAGE) | ||
add_coverage(genelpa) | ||
endif() |
Oops, something went wrong.