Skip to content

Commit 948056b

Browse files
committed
Fix test building error
1 parent 6b173d8 commit 948056b

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

source/module_base/test/CMakeLists.txt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ AddTest(
1818
AddTest(
1919
TARGET base_tool_quit
2020
LIBS parameter
21-
SOURCES tool_quit_test.cpp ../blas_connector.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp
21+
SOURCES tool_quit_test.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp
2222
)
2323
AddTest(
2424
TARGET base_tool_check
2525
LIBS parameter
26-
SOURCES tool_check_test.cpp ../blas_connector.cpp ../tool_check.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp
26+
SOURCES tool_check_test.cpp ../tool_check.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp
2727
)
2828
AddTest(
2929
TARGET base_memory
@@ -42,7 +42,7 @@ AddTest(
4242
AddTest(
4343
TARGET base_matrix3
4444
LIBS parameter ${math_libs}
45-
SOURCES matrix3_test.cpp ../blas_connector.cpp ../matrix3.cpp ../matrix.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp
45+
SOURCES matrix3_test.cpp ../matrix3.cpp ../matrix.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp ../blas_connector.cpp
4646
)
4747
AddTest(
4848
TARGET base_intarray
@@ -62,7 +62,7 @@ AddTest(
6262
AddTest(
6363
TARGET base_complexarray
6464
LIBS parameter
65-
SOURCES complexarray_test.cpp ../blas_connector.cpp ../complexarray.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp
65+
SOURCES complexarray_test.cpp ../complexarray.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp
6666
)
6767
AddTest(
6868
TARGET base_complexmatrix
@@ -72,12 +72,12 @@ AddTest(
7272
AddTest(
7373
TARGET base_integral
7474
LIBS parameter
75-
SOURCES math_integral_test.cpp ../blas_connector.cpp ../math_integral.cpp
75+
SOURCES math_integral_test.cpp ../math_integral.cpp
7676
)
7777
AddTest(
7878
TARGET base_sph_bessel_recursive
7979
LIBS parameter
80-
SOURCES sph_bessel_recursive_test.cpp ../blas_connector.cpp ../sph_bessel_recursive-d1.cpp ../sph_bessel_recursive-d2.cpp
80+
SOURCES sph_bessel_recursive_test.cpp ../sph_bessel_recursive-d1.cpp ../sph_bessel_recursive-d2.cpp
8181
)
8282
AddTest(
8383
TARGET base_ylmreal
@@ -89,12 +89,12 @@ AddTest(
8989
AddTest(
9090
TARGET base_math_sphbes
9191
LIBS parameter
92-
SOURCES math_sphbes_test.cpp ../blas_connector.cpp ../math_sphbes.cpp ../timer.cpp
92+
SOURCES math_sphbes_test.cpp ../math_sphbes.cpp ../timer.cpp
9393
)
9494
AddTest(
9595
TARGET base_mathzone
9696
LIBS parameter ${math_libs}
97-
SOURCES mathzone_test.cpp ../blas_connector.cpp ../matrix3.cpp ../matrix.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp
97+
SOURCES mathzone_test.cpp ../matrix3.cpp ../matrix.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp ../blas_connector.cpp
9898
)
9999
AddTest(
100100
TARGET base_mathzone_add1
@@ -104,7 +104,7 @@ AddTest(
104104
AddTest(
105105
TARGET base_math_polyint
106106
LIBS parameter
107-
SOURCES math_polyint_test.cpp ../blas_connector.cpp ../math_polyint.cpp ../realarray.cpp ../timer.cpp
107+
SOURCES math_polyint_test.cpp ../math_polyint.cpp ../realarray.cpp ../timer.cpp
108108
)
109109
AddTest(
110110
TARGET base_gram_schmidt_orth
@@ -124,12 +124,12 @@ AddTest(
124124
AddTest(
125125
TARGET base_mymath
126126
LIBS parameter
127-
SOURCES mymath_test.cpp ../blas_connector.cpp ../mymath.cpp ../timer.cpp
127+
SOURCES mymath_test.cpp ../mymath.cpp ../timer.cpp
128128
)
129129
AddTest(
130130
TARGET base_container
131131
LIBS parameter
132-
SOURCES container_operator_test.cpp ../blas_connector.cpp ../container_operator.h
132+
SOURCES container_operator_test.cpp ../container_operator.h
133133
)
134134

135135
AddTest(
@@ -159,37 +159,37 @@ AddTest(
159159
AddTest(
160160
TARGET base_ylm
161161
LIBS parameter
162-
SOURCES ylm_test.cpp ../ylm.cpp ../timer.cpp ../blas_connector.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp
162+
SOURCES ylm_test.cpp ../ylm.cpp ../timer.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp
163163
)
164164

165165
AddTest(
166166
TARGET base_abfs-vector3_order
167167
LIBS parameter
168-
SOURCES abfs-vector3_order_test.cpp ../blas_connector.cpp ../abfs-vector3_order.cpp
168+
SOURCES abfs-vector3_order_test.cpp ../abfs-vector3_order.cpp
169169
)
170170

171171
AddTest(
172172
TARGET base_global_file
173173
LIBS parameter
174-
SOURCES global_file_test.cpp ../blas_connector.cpp ../global_file.cpp ../global_function.cpp ../tool_quit.cpp ../global_variable.cpp ../memory.cpp ../timer.cpp
174+
SOURCES global_file_test.cpp ../global_file.cpp ../global_function.cpp ../tool_quit.cpp ../global_variable.cpp ../memory.cpp ../timer.cpp
175175
)
176176

177177
AddTest(
178178
TARGET base_tool_title
179179
LIBS parameter
180-
SOURCES tool_title_test.cpp ../blas_connector.cpp ../tool_title.cpp ../global_variable.cpp ../global_function.cpp ../timer.cpp ../tool_quit.cpp ../global_file.cpp ../memory.cpp
180+
SOURCES tool_title_test.cpp ../tool_title.cpp ../global_variable.cpp ../global_function.cpp ../timer.cpp ../tool_quit.cpp ../global_file.cpp ../memory.cpp
181181
)
182182

183183
AddTest(
184184
TARGET base_element_basis_index
185185
LIBS parameter
186-
SOURCES element_basis_index_test.cpp ../blas_connector.cpp ../element_basis_index.cpp
186+
SOURCES element_basis_index_test.cpp ../element_basis_index.cpp
187187
)
188188

189189
AddTest(
190190
TARGET base_tool_threading
191191
LIBS parameter
192-
SOURCES tool_threading_test.cpp ../blas_connector.cpp ../tool_threading.h
192+
SOURCES tool_threading_test.cpp ../tool_threading.h
193193
)
194194

195195
AddTest(
@@ -234,6 +234,6 @@ if(ENABLE_GOOGLEBENCH)
234234
AddTest(
235235
TARGET perf_sphbes
236236
LIBS parameter
237-
SOURCES perf_sphbes_test.cpp ../blas_connector.cpp ../math_sphbes.cpp ../timer.cpp
237+
SOURCES perf_sphbes_test.cpp ../math_sphbes.cpp ../timer.cpp
238238
)
239239
endif()

source/module_basis/module_pw/kernels/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ AddTest(
88
../../../../module_base/parallel_global.cpp ../../../../module_base/parallel_reduce.cpp
99
../../../../module_base/parallel_comm.cpp
1010
../../../../module_base/complexmatrix.cpp ../../../../module_base/matrix.cpp ../../../../module_base/memory.cpp
11-
../../../../module_base/libm/branred.cpp ../../../../module_base/libm/sincos.cpp
11+
../../../../module_base/libm/branred.cpp ../../../../module_base/libm/sincos.cpp ../../../../module_base/blas_connector.cpp
1212
)

source/module_hsolver/kernels/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ elseif()
1111
AddTest(
1212
TARGET Hsolver_Kernels_UTs
1313
LIBS parameter ${math_libs} base device
14-
SOURCES math_kernel_test.cpp
14+
SOURCES math_kernel_test.cpp ../../../module_base/blas_connector.cpp
1515
)
1616
endif()
1717

source/module_relax/relax_new/test/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ install(DIRECTORY support DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
99
AddTest(
1010
TARGET relax_new_line_search
1111
LIBS parameter
12-
SOURCES line_search_test.cpp ../line_search.cpp ../../../module_base/global_variable.cpp ../../../module_base/global_file.cpp ../../../module_base/global_function.cpp ../../../module_base/memory.cpp ../../../module_base/timer.cpp ../../../module_base/blas_connector.cpp ../../../module_base/tool_quit.cpp
12+
SOURCES line_search_test.cpp ../line_search.cpp ../../../module_base/global_variable.cpp ../../../module_base/global_file.cpp ../../../module_base/global_function.cpp ../../../module_base/memory.cpp ../../../module_base/timer.cpp ../../../module_base/tool_quit.cpp
1313
)
1414

1515
AddTest(
1616
TARGET relax_new_relax
17-
SOURCES relax_test.cpp ../relax.cpp ../line_search.cpp ../../../module_base/tool_quit.cpp ../../../module_base/global_variable.cpp ../../../module_base/global_file.cpp ../../../module_base/memory.cpp ../../../module_base/timer.cpp ../../../module_base/blas_connector.cpp
17+
SOURCES relax_test.cpp ../relax.cpp ../line_search.cpp ../../../module_base/tool_quit.cpp ../../../module_base/global_variable.cpp ../../../module_base/global_file.cpp ../../../module_base/memory.cpp ../../../module_base/timer.cpp
1818
../../../module_base/matrix3.cpp ../../../module_base/intarray.cpp ../../../module_base/tool_title.cpp
1919
../../../module_base/global_function.cpp ../../../module_base/complexmatrix.cpp ../../../module_base/matrix.cpp
20-
../../../module_base/complexarray.cpp ../../../module_base/tool_quit.cpp ../../../module_base/realarray.cpp
20+
../../../module_base/complexarray.cpp ../../../module_base/tool_quit.cpp ../../../module_base/realarray.cpp ../../../module_base/blas_connector.cpp
2121
LIBS parameter ${math_libs}
2222
)

0 commit comments

Comments
 (0)