Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,27 @@ jobs:
OMP_NUM_THREADS: '2'
run: |
cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_CELL"

- name: Module_MD Unittests
env:
GTEST_COLOR: 'yes'
OMP_NUM_THREADS: '2'
run: |
cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_MD"

- name: Module_Psi Unittests
env:
GTEST_COLOR: 'yes'
OMP_NUM_THREADS: '2'
run: |
cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_PSI"

- name: Module_RI Unittests
env:
GTEST_COLOR: 'yes'
OMP_NUM_THREADS: '2'
run: |
cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_RI"

- name: 01_PW Test
env:
Expand Down Expand Up @@ -159,4 +180,4 @@ jobs:
GTEST_COLOR: 'yes'
OMP_NUM_THREADS: '2'
run: |
cmake --build build --target test ARGS="-V --timeout 1700 -E 'integrate_test|01_PW|02_NAO_Gamma|03_NAO_multik|04_LJ_DP|05_rtTDDFT|06_SDFT|07_OFDFT|08_EXX|09_DeePKS|10_others|11_PW_GPU|12_NAO_Gamma_GPU|13_NAO_multik_GPU|15_rtTDDFT_GPU|16_SDFT_GPU|MODULE_BASE|MODULE_IO|MODULE_HSOLVER|MODULE_CELL'"
cmake --build build --target test ARGS="-V --timeout 1700 -E 'integrate_test|01_PW|02_NAO_Gamma|03_NAO_multik|04_LJ_DP|05_rtTDDFT|06_SDFT|07_OFDFT|08_EXX|09_DeePKS|10_others|11_PW_GPU|12_NAO_Gamma_GPU|13_NAO_multik_GPU|15_rtTDDFT_GPU|16_SDFT_GPU|MODULE_BASE|MODULE_IO|MODULE_HSOLVER|MODULE_CELL|MODULE_MD|MODULE_PSI|MODULE_RI'"
14 changes: 7 additions & 7 deletions source/module_md/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,21 @@ list(APPEND depend_files
)

AddTest(
TARGET md_LJ_pot
TARGET MODULE_MD_LJ_pot
LIBS parameter ${math_libs} psi device
SOURCES lj_pot_test.cpp
${depend_files}
)

AddTest(
TARGET md_func
TARGET MODULE_MD_func
LIBS parameter ${math_libs} psi device
SOURCES md_func_test.cpp
${depend_files}
)

AddTest(
TARGET md_fire
TARGET MODULE_MD_fire
LIBS parameter ${math_libs} psi device
SOURCES fire_test.cpp
../md_base.cpp
Expand All @@ -82,7 +82,7 @@ AddTest(
)

AddTest(
TARGET md_verlet
TARGET MODULE_MD_verlet
LIBS parameter ${math_libs} psi device
SOURCES verlet_test.cpp
../md_base.cpp
Expand All @@ -91,7 +91,7 @@ AddTest(
)

AddTest(
TARGET md_nhc
TARGET MODULE_MD_nhc
LIBS parameter ${math_libs} psi device
SOURCES nhchain_test.cpp
../md_base.cpp
Expand All @@ -101,7 +101,7 @@ AddTest(
)

AddTest(
TARGET md_msst
TARGET MODULE_MD_msst
LIBS parameter ${math_libs} psi device
SOURCES msst_test.cpp
../md_base.cpp
Expand All @@ -112,7 +112,7 @@ AddTest(
)

AddTest(
TARGET md_lgv
TARGET MODULE_MD_lgv
LIBS parameter ${math_libs} psi device
SOURCES langevin_test.cpp
../md_base.cpp
Expand Down
4 changes: 2 additions & 2 deletions source/module_psi/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AddTest(
TARGET psi_UT
TARGET MODULE_PSI_Unittests
LIBS parameter ${math_libs} base device
SOURCES
psi_test.cpp
Expand All @@ -8,7 +8,7 @@ AddTest(

if(ENABLE_LCAO)
AddTest(
TARGET psi_initializer_unit_test
TARGET MODULE_PSI_initializer_unit_test
LIBS parameter ${math_libs} base device psi psi_initializer planewave
SOURCES
psi_initializer_unit_test.cpp
Expand Down
2 changes: 1 addition & 1 deletion source/module_ri/module_exx_symmetry/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ remove_definitions(-D__DEEPKS)
remove_definitions(-D__CUDA)
remove_definitions(-D__ROCM)
AddTest(
TARGET symmetry_rotation
TARGET MODULE_RI_EXX_SYMMETRY_rotation
LIBS base ${math_libs} device symmetry neighbor parameter
SOURCES symmetry_rotation_test.cpp ../symmetry_rotation.cpp ../irreducible_sector.cpp ../irreducible_sector_bvk.cpp
../../../module_basis/module_ao/parallel_orbitals.cpp
Expand Down
4 changes: 2 additions & 2 deletions source/module_ri/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ remove_definitions(-D__DEEPKS)
remove_definitions(-D__CUDA)
remove_definitions(-D__ROCM)
AddTest(
TARGET dm_mixing_test
TARGET MODULE_RI_dm_mixing_test
LIBS parameter base ${math_libs} device
SOURCES dm_mixing_test.cpp ../Mix_DMk_2D.cpp ../Mix_Matrix.cpp
)
AddTest(
TARGET ri_cv_io_test
TARGET MODULE_RI_ri_cv_io_test
LIBS base ${math_libs} device parameter
SOURCES ri_cv_io_test.cpp
)
Expand Down
Loading