Skip to content

Commit 04a2467

Browse files
authored
test name fix & add unit test for class Numerical_Orbital_Lm (#2025)
1 parent 7df814d commit 04a2467

File tree

3 files changed

+913
-27
lines changed

3 files changed

+913
-27
lines changed

source/module_orbital/test/CMakeLists.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ AddTest(
5454
LIBS ${math_libs} device base
5555
)
5656

57+
AddTest(
58+
TARGET ORB_atomic_lm_test
59+
SOURCES ORB_atomic_lm_test.cpp
60+
${depend_files}
61+
../../module_base/parallel_reduce.cpp
62+
../../module_base/parallel_global.cpp
63+
../../module_base/parallel_common.cpp
64+
../../module_cell/parallel_kpoints.cpp
65+
LIBS ${math_libs} device
66+
)
67+
5768
#AddTest(
5869
# TARGET ORB_read_test
5970
# SOURCES ORB_read_test.cpp
@@ -64,17 +75,6 @@ AddTest(
6475
# ../../module_cell/parallel_kpoints.cpp
6576
# LIBS ${math_libs} device
6677
#)
67-
#
68-
#AddTest(
69-
# TARGET ORB_atomic_lm_test
70-
# SOURCES ORB_atomic_lm_test.cpp
71-
# ${depend_files}
72-
# ../../module_base/parallel_reduce.cpp
73-
# ../../module_base/parallel_global.cpp
74-
# ../../module_base/parallel_common.cpp
75-
# ../../module_cell/parallel_kpoints.cpp
76-
# LIBS ${math_libs} device
77-
#)
7878

7979
install(DIRECTORY lcao_H2O DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
8080
install(DIRECTORY lcao_H2O DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/../../../tests)

0 commit comments

Comments
 (0)