From 5fc9b2bfeba094b7db1ff26229973a7def82b65c Mon Sep 17 00:00:00 2001 From: Critsium-xy Date: Thu, 8 May 2025 14:22:11 +0800 Subject: [PATCH 1/4] Separate unit test for module_base --- .github/workflows/test.yml | 10 ++- source/module_base/test/CMakeLists.txt | 88 +++++++++---------- .../module_base/test_parallel/CMakeLists.txt | 24 ++--- 3 files changed, 64 insertions(+), 58 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a076cda7a2..69934dfa7b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -126,10 +126,16 @@ jobs: run: | cmake --build build --target test ARGS="-V --timeout 1700 -R 10_others" - - name: Unit Test + - name: Module Base Unit Test env: 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|16_SDFT_GPU'" + cmake --build build --target test ARGS="-V --timeout 1700 -R MODULE_BASE" + - name: Unit Test + env: + 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|16_SDFT_GPU' diff --git a/source/module_base/test/CMakeLists.txt b/source/module_base/test/CMakeLists.txt index 0c8fd53461..ed05b50756 100644 --- a/source/module_base/test/CMakeLists.txt +++ b/source/module_base/test/CMakeLists.txt @@ -1,239 +1,239 @@ remove_definitions(-D__MPI) install(DIRECTORY data DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) AddTest( - TARGET base_blas_connector + TARGET MODULE_BASE_base_blas_connector LIBS parameter ${math_libs} base device SOURCES blas_connector_test.cpp ) AddTest( - TARGET base_atom_in + TARGET MODULE_BASE_base_atom_in LIBS parameter SOURCES atom_in_test.cpp ) AddTest( - TARGET base_timer + TARGET MODULE_BASE_base_timer LIBS parameter SOURCES timer_test.cpp ../timer.cpp ../global_variable.cpp ) AddTest( - TARGET base_tool_quit + TARGET MODULE_BASE_base_tool_quit LIBS parameter SOURCES tool_quit_test.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET base_tool_check + TARGET MODULE_BASE_base_tool_check LIBS parameter SOURCES tool_check_test.cpp ../tool_check.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET base_memory + TARGET MODULE_BASE_base_memory SOURCES memory_test.cpp ../memory.cpp ../parallel_reduce.cpp ) ADDTest( - TARGET base_global_function + TARGET MODULE_BASE_base_global_function LIBS parameter ${math_libs} SOURCES global_function_test.cpp ../global_function.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET base_vector3 + TARGET MODULE_BASE_base_vector3 LIBS parameter SOURCES vector3_test.cpp ) AddTest( - TARGET base_matrix3 + TARGET MODULE_BASE_base_matrix3 LIBS parameter ${math_libs} base device SOURCES matrix3_test.cpp ) AddTest( - TARGET base_intarray + TARGET MODULE_BASE_base_intarray LIBS parameter SOURCES intarray_test.cpp ../intarray.cpp ) AddTest( - TARGET base_realarray + TARGET MODULE_BASE_base_realarray LIBS parameter SOURCES realarray_test.cpp ../realarray.cpp ) AddTest( - TARGET base_matrix + TARGET MODULE_BASE_base_matrix LIBS parameter ${math_libs} base device SOURCES matrix_test.cpp ) AddTest( - TARGET base_complexarray + TARGET MODULE_BASE_base_complexarray LIBS parameter SOURCES complexarray_test.cpp ../complexarray.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET base_complexmatrix + TARGET MODULE_BASE_base_complexmatrix LIBS parameter ${math_libs} base device SOURCES complexmatrix_test.cpp ) AddTest( - TARGET base_integral + TARGET MODULE_BASE_base_integral LIBS parameter SOURCES math_integral_test.cpp ../math_integral.cpp ) AddTest( - TARGET base_sph_bessel_recursive + TARGET MODULE_BASE_base_sph_bessel_recursive LIBS parameter SOURCES sph_bessel_recursive_test.cpp ../sph_bessel_recursive-d1.cpp ../sph_bessel_recursive-d2.cpp ) AddTest( - TARGET base_ylmreal + TARGET MODULE_BASE_base_ylmreal LIBS parameter ${math_libs} base device SOURCES math_ylmreal_test.cpp ../libm/branred.cpp ../libm/sincos.cpp ) AddTest( - TARGET base_math_sphbes + TARGET MODULE_BASE_base_math_sphbes LIBS parameter SOURCES math_sphbes_test.cpp ../math_sphbes.cpp ../timer.cpp ) AddTest( - TARGET base_mathzone + TARGET MODULE_BASE_base_mathzone LIBS parameter ${math_libs} base device SOURCES mathzone_test.cpp ) AddTest( - TARGET base_mathzone_add1 + TARGET MODULE_BASE_base_mathzone_add1 LIBS parameter ${math_libs} base device SOURCES mathzone_add1_test.cpp ) AddTest( - TARGET base_math_polyint + TARGET MODULE_BASE_base_math_polyint LIBS parameter SOURCES math_polyint_test.cpp ../math_polyint.cpp ../realarray.cpp ../timer.cpp ) AddTest( - TARGET base_gram_schmidt_orth + TARGET MODULE_BASE_base_gram_schmidt_orth LIBS parameter ${math_libs} base device SOURCES gram_schmidt_orth_test.cpp ) AddTest( - TARGET base_math_bspline + TARGET MODULE_BASE_base_math_bspline LIBS parameter SOURCES math_bspline_test.cpp ../math_bspline.cpp ) AddTest( - TARGET base_inverse_matrix + TARGET MODULE_BASE_base_inverse_matrix LIBS parameter ${math_libs} base device SOURCES inverse_matrix_test.cpp ) AddTest( - TARGET base_mymath + TARGET MODULE_BASE_base_mymath LIBS parameter SOURCES mymath_test.cpp ../mymath.cpp ../timer.cpp ) AddTest( - TARGET base_container + TARGET MODULE_BASE_base_container LIBS parameter SOURCES container_operator_test.cpp ../container_operator.h ) AddTest( - TARGET base_math_chebyshev + TARGET MODULE_BASE_base_math_chebyshev LIBS parameter ${math_libs} base device container SOURCES math_chebyshev_test.cpp ) AddTest( - TARGET base_lapack_connector + TARGET MODULE_BASE_base_lapack_connector LIBS parameter ${math_libs} base device SOURCES lapack_connector_test.cpp ) AddTest( - TARGET base_opt_CG + TARGET MODULE_BASE_base_opt_CG LIBS parameter ${math_libs} base device SOURCES opt_CG_test.cpp opt_test_tools.cpp ) AddTest( - TARGET base_opt_TN + TARGET MODULE_BASE_base_opt_TN LIBS parameter ${math_libs} base device SOURCES opt_TN_test.cpp opt_test_tools.cpp ) AddTest( - TARGET base_ylm + TARGET MODULE_BASE_base_ylm LIBS parameter SOURCES ylm_test.cpp ../ylm.cpp ../timer.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ) AddTest( - TARGET base_abfs-vector3_order + TARGET MODULE_BASE_base_abfs-vector3_order LIBS parameter SOURCES abfs-vector3_order_test.cpp ../abfs-vector3_order.cpp ) AddTest( - TARGET base_global_file + TARGET MODULE_BASE_base_global_file LIBS parameter SOURCES global_file_test.cpp ../global_file.cpp ../global_function.cpp ../tool_quit.cpp ../global_variable.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET base_tool_title + TARGET MODULE_BASE_base_tool_title LIBS parameter SOURCES tool_title_test.cpp ../tool_title.cpp ../global_variable.cpp ../global_function.cpp ../timer.cpp ../tool_quit.cpp ../global_file.cpp ../memory.cpp ) AddTest( - TARGET base_element_basis_index + TARGET MODULE_BASE_base_element_basis_index LIBS parameter SOURCES element_basis_index_test.cpp ../element_basis_index.cpp ) AddTest( - TARGET base_tool_threading + TARGET MODULE_BASE_base_tool_threading LIBS parameter SOURCES tool_threading_test.cpp ../tool_threading.h ) AddTest( - TARGET spherical_bessel_transformer + TARGET MODULE_BASE_spherical_bessel_transformer SOURCES spherical_bessel_transformer_test.cpp LIBS parameter ${math_libs} base device ) AddTest( - TARGET cubic_spline + TARGET MODULE_BASE_cubic_spline SOURCES cubic_spline_test.cpp LIBS parameter ${math_libs} base device ) AddTest( - TARGET clebsch_gordan_coeff_test + TARGET MODULE_BASE_clebsch_gordan_coeff_test SOURCES clebsch_gordan_coeff_test.cpp LIBS parameter ${math_libs} base device ) AddTest( - TARGET assoc_laguerre_test + TARGET MODULE_BASE_assoc_laguerre_test SOURCES assoc_laguerre_test.cpp LIBS parameter ${math_libs} base device ) AddTest( - TARGET ndarray_test + TARGET MODULE_BASE_ndarray_test LIBS parameter SOURCES ndarray_test.cpp ) AddTest( - TARGET formatter_test + TARGET MODULE_BASE_formatter_test LIBS parameter SOURCES formatter_test.cpp ) AddTest( - TARGET lebedev_laikov + TARGET MODULE_BASE_lebedev_laikov SOURCES test_lebedev_laikov.cpp ../ylm.cpp ../math_lebedev_laikov.cpp ) if(ENABLE_GOOGLEBENCH) AddTest( - TARGET perf_sphbes + TARGET MODULE_BASE_perf_sphbes LIBS parameter SOURCES perf_sphbes_test.cpp ../math_sphbes.cpp ../timer.cpp ) diff --git a/source/module_base/test_parallel/CMakeLists.txt b/source/module_base/test_parallel/CMakeLists.txt index 5132549f7a..9a8bc02920 100644 --- a/source/module_base/test_parallel/CMakeLists.txt +++ b/source/module_base/test_parallel/CMakeLists.txt @@ -1,17 +1,17 @@ AddTest( - TARGET base_ParaCommon + TARGET MODULE_BASE_base_ParaCommon LIBS parameter MPI::MPI_CXX SOURCES parallel_common_test.cpp ../global_variable.cpp ../parallel_common.cpp ) AddTest( - TARGET base_ParaGlobal + TARGET MODULE_BASE_base_ParaGlobal LIBS parameter MPI::MPI_CXX SOURCES parallel_global_test.cpp ../global_variable.cpp ../parallel_global.cpp ../parallel_comm.cpp ) AddTest( - TARGET base_ParaReduce + TARGET MODULE_BASE_base_ParaReduce LIBS parameter MPI::MPI_CXX SOURCES parallel_reduce_test.cpp ../global_variable.cpp ../parallel_global.cpp ../parallel_comm.cpp ../parallel_common.cpp ../parallel_reduce.cpp ) @@ -21,39 +21,39 @@ install(FILES parallel_global_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES parallel_reduce_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) find_program(BASH bash) -add_test(NAME base_parallel_common_test +add_test(NAME MODULE_BASE_base_parallel_common_test COMMAND ${BASH} parallel_common_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) -add_test(NAME base_parallel_global_test +add_test(NAME MODULE_BASE_base_parallel_global_test COMMAND ${BASH} parallel_global_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) -add_test(NAME base_parallel_reduce_test +add_test(NAME MODULE_BASE_base_parallel_reduce_test COMMAND ${BASH} parallel_reduce_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) AddTest( - TARGET base_para_gemm + TARGET MODULE_BASE_base_para_gemm LIBS MPI::MPI_CXX ${math_libs} base device parameter SOURCES test_para_gemm.cpp ) -add_test(NAME base_para_gemm_parallel +add_test(NAME MODULE_BASE_base_para_gemm_parallel COMMAND mpirun -np 4 ./base_para_gemm WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) AddTest( - TARGET parallel_2d_test + TARGET MODULE_BASE_parallel_2d_test SOURCES parallel_2d_test.cpp ../parallel_2d.cpp LIBS parameter ${math_libs} ) install(FILES parallel_2d_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) find_program(BASH bash) -add_test(NAME parallel_2d_test_para +add_test(NAME MODULE_BASE_parallel_2d_test_para COMMAND ${BASH} parallel_2d_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) @@ -67,12 +67,12 @@ add_test(NAME parallel_2d_test_para endif() AddTest( - TARGET blacs_connector + TARGET MODULE_BASE_blacs_connector LIBS parameter MPI::MPI_CXX ${BLACS_LIB} SOURCES blacs_connector_test.cpp ) install(FILES blacs_connector_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) - add_test(NAME blacs_connector_test + add_test(NAME MODULE_BASE_blacs_connector_test COMMAND ${BASH} blacs_connector_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) From dd0c53d2021d7f1816d42736241a8adc438baea8 Mon Sep 17 00:00:00 2001 From: Critsium-xy Date: Thu, 8 May 2025 15:04:58 +0800 Subject: [PATCH 2/4] Remove PARALLEL tests --- .../module_base/test_parallel/CMakeLists.txt | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/module_base/test_parallel/CMakeLists.txt b/source/module_base/test_parallel/CMakeLists.txt index 9a8bc02920..5132549f7a 100644 --- a/source/module_base/test_parallel/CMakeLists.txt +++ b/source/module_base/test_parallel/CMakeLists.txt @@ -1,17 +1,17 @@ AddTest( - TARGET MODULE_BASE_base_ParaCommon + TARGET base_ParaCommon LIBS parameter MPI::MPI_CXX SOURCES parallel_common_test.cpp ../global_variable.cpp ../parallel_common.cpp ) AddTest( - TARGET MODULE_BASE_base_ParaGlobal + TARGET base_ParaGlobal LIBS parameter MPI::MPI_CXX SOURCES parallel_global_test.cpp ../global_variable.cpp ../parallel_global.cpp ../parallel_comm.cpp ) AddTest( - TARGET MODULE_BASE_base_ParaReduce + TARGET base_ParaReduce LIBS parameter MPI::MPI_CXX SOURCES parallel_reduce_test.cpp ../global_variable.cpp ../parallel_global.cpp ../parallel_comm.cpp ../parallel_common.cpp ../parallel_reduce.cpp ) @@ -21,39 +21,39 @@ install(FILES parallel_global_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) install(FILES parallel_reduce_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) find_program(BASH bash) -add_test(NAME MODULE_BASE_base_parallel_common_test +add_test(NAME base_parallel_common_test COMMAND ${BASH} parallel_common_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) -add_test(NAME MODULE_BASE_base_parallel_global_test +add_test(NAME base_parallel_global_test COMMAND ${BASH} parallel_global_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) -add_test(NAME MODULE_BASE_base_parallel_reduce_test +add_test(NAME base_parallel_reduce_test COMMAND ${BASH} parallel_reduce_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) AddTest( - TARGET MODULE_BASE_base_para_gemm + TARGET base_para_gemm LIBS MPI::MPI_CXX ${math_libs} base device parameter SOURCES test_para_gemm.cpp ) -add_test(NAME MODULE_BASE_base_para_gemm_parallel +add_test(NAME base_para_gemm_parallel COMMAND mpirun -np 4 ./base_para_gemm WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) AddTest( - TARGET MODULE_BASE_parallel_2d_test + TARGET parallel_2d_test SOURCES parallel_2d_test.cpp ../parallel_2d.cpp LIBS parameter ${math_libs} ) install(FILES parallel_2d_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) find_program(BASH bash) -add_test(NAME MODULE_BASE_parallel_2d_test_para +add_test(NAME parallel_2d_test_para COMMAND ${BASH} parallel_2d_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) @@ -67,12 +67,12 @@ add_test(NAME MODULE_BASE_parallel_2d_test_para endif() AddTest( - TARGET MODULE_BASE_blacs_connector + TARGET blacs_connector LIBS parameter MPI::MPI_CXX ${BLACS_LIB} SOURCES blacs_connector_test.cpp ) install(FILES blacs_connector_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) - add_test(NAME MODULE_BASE_blacs_connector_test + add_test(NAME blacs_connector_test COMMAND ${BASH} blacs_connector_test.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) From bf57e834bed3f6620ac738b92c12f0b4ec1ef756 Mon Sep 17 00:00:00 2001 From: Critsium-xy Date: Thu, 8 May 2025 15:27:57 +0800 Subject: [PATCH 3/4] Fix command error --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69934dfa7b..8571ab6309 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -138,4 +138,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|16_SDFT_GPU' + 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|16_SDFT_GPU'" From 7ee6299c43a44b5a574ea17c86ce7626aa97fa8c Mon Sep 17 00:00:00 2001 From: Critsium-xy Date: Thu, 8 May 2025 21:02:26 +0800 Subject: [PATCH 4/4] Remove base_ in test names --- source/module_base/test/CMakeLists.txt | 72 +++++++++++++------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/source/module_base/test/CMakeLists.txt b/source/module_base/test/CMakeLists.txt index ed05b50756..a39ba8436a 100644 --- a/source/module_base/test/CMakeLists.txt +++ b/source/module_base/test/CMakeLists.txt @@ -1,191 +1,191 @@ remove_definitions(-D__MPI) install(DIRECTORY data DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) AddTest( - TARGET MODULE_BASE_base_blas_connector + TARGET MODULE_BASE_blas_connector LIBS parameter ${math_libs} base device SOURCES blas_connector_test.cpp ) AddTest( - TARGET MODULE_BASE_base_atom_in + TARGET MODULE_BASE_atom_in LIBS parameter SOURCES atom_in_test.cpp ) AddTest( - TARGET MODULE_BASE_base_timer + TARGET MODULE_BASE_timer LIBS parameter SOURCES timer_test.cpp ../timer.cpp ../global_variable.cpp ) AddTest( - TARGET MODULE_BASE_base_tool_quit + TARGET MODULE_BASE_tool_quit LIBS parameter SOURCES tool_quit_test.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET MODULE_BASE_base_tool_check + TARGET MODULE_BASE_tool_check LIBS parameter SOURCES tool_check_test.cpp ../tool_check.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET MODULE_BASE_base_memory + TARGET MODULE_BASE_memory SOURCES memory_test.cpp ../memory.cpp ../parallel_reduce.cpp ) ADDTest( - TARGET MODULE_BASE_base_global_function + TARGET MODULE_BASE_global_function LIBS parameter ${math_libs} SOURCES global_function_test.cpp ../global_function.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET MODULE_BASE_base_vector3 + TARGET MODULE_BASE_vector3 LIBS parameter SOURCES vector3_test.cpp ) AddTest( - TARGET MODULE_BASE_base_matrix3 + TARGET MODULE_BASE_matrix3 LIBS parameter ${math_libs} base device SOURCES matrix3_test.cpp ) AddTest( - TARGET MODULE_BASE_base_intarray + TARGET MODULE_BASE_intarray LIBS parameter SOURCES intarray_test.cpp ../intarray.cpp ) AddTest( - TARGET MODULE_BASE_base_realarray + TARGET MODULE_BASE_realarray LIBS parameter SOURCES realarray_test.cpp ../realarray.cpp ) AddTest( - TARGET MODULE_BASE_base_matrix + TARGET MODULE_BASE_matrix LIBS parameter ${math_libs} base device SOURCES matrix_test.cpp ) AddTest( - TARGET MODULE_BASE_base_complexarray + TARGET MODULE_BASE_complexarray LIBS parameter SOURCES complexarray_test.cpp ../complexarray.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET MODULE_BASE_base_complexmatrix + TARGET MODULE_BASE_complexmatrix LIBS parameter ${math_libs} base device SOURCES complexmatrix_test.cpp ) AddTest( - TARGET MODULE_BASE_base_integral + TARGET MODULE_BASE_integral LIBS parameter SOURCES math_integral_test.cpp ../math_integral.cpp ) AddTest( - TARGET MODULE_BASE_base_sph_bessel_recursive + TARGET MODULE_BASE_sph_bessel_recursive LIBS parameter SOURCES sph_bessel_recursive_test.cpp ../sph_bessel_recursive-d1.cpp ../sph_bessel_recursive-d2.cpp ) AddTest( - TARGET MODULE_BASE_base_ylmreal + TARGET MODULE_BASE_ylmreal LIBS parameter ${math_libs} base device SOURCES math_ylmreal_test.cpp ../libm/branred.cpp ../libm/sincos.cpp ) AddTest( - TARGET MODULE_BASE_base_math_sphbes + TARGET MODULE_BASE_math_sphbes LIBS parameter SOURCES math_sphbes_test.cpp ../math_sphbes.cpp ../timer.cpp ) AddTest( - TARGET MODULE_BASE_base_mathzone + TARGET MODULE_BASE_mathzone LIBS parameter ${math_libs} base device SOURCES mathzone_test.cpp ) AddTest( - TARGET MODULE_BASE_base_mathzone_add1 + TARGET MODULE_BASE_mathzone_add1 LIBS parameter ${math_libs} base device SOURCES mathzone_add1_test.cpp ) AddTest( - TARGET MODULE_BASE_base_math_polyint + TARGET MODULE_BASE_math_polyint LIBS parameter SOURCES math_polyint_test.cpp ../math_polyint.cpp ../realarray.cpp ../timer.cpp ) AddTest( - TARGET MODULE_BASE_base_gram_schmidt_orth + TARGET MODULE_BASE_gram_schmidt_orth LIBS parameter ${math_libs} base device SOURCES gram_schmidt_orth_test.cpp ) AddTest( - TARGET MODULE_BASE_base_math_bspline + TARGET MODULE_BASE_math_bspline LIBS parameter SOURCES math_bspline_test.cpp ../math_bspline.cpp ) AddTest( - TARGET MODULE_BASE_base_inverse_matrix + TARGET MODULE_BASE_inverse_matrix LIBS parameter ${math_libs} base device SOURCES inverse_matrix_test.cpp ) AddTest( - TARGET MODULE_BASE_base_mymath + TARGET MODULE_BASE_mymath LIBS parameter SOURCES mymath_test.cpp ../mymath.cpp ../timer.cpp ) AddTest( - TARGET MODULE_BASE_base_container + TARGET MODULE_BASE_container LIBS parameter SOURCES container_operator_test.cpp ../container_operator.h ) AddTest( - TARGET MODULE_BASE_base_math_chebyshev + TARGET MODULE_BASE_math_chebyshev LIBS parameter ${math_libs} base device container SOURCES math_chebyshev_test.cpp ) AddTest( - TARGET MODULE_BASE_base_lapack_connector + TARGET MODULE_BASE_lapack_connector LIBS parameter ${math_libs} base device SOURCES lapack_connector_test.cpp ) AddTest( - TARGET MODULE_BASE_base_opt_CG + TARGET MODULE_BASE_opt_CG LIBS parameter ${math_libs} base device SOURCES opt_CG_test.cpp opt_test_tools.cpp ) AddTest( - TARGET MODULE_BASE_base_opt_TN + TARGET MODULE_BASE_opt_TN LIBS parameter ${math_libs} base device SOURCES opt_TN_test.cpp opt_test_tools.cpp ) AddTest( - TARGET MODULE_BASE_base_ylm + TARGET MODULE_BASE_ylm LIBS parameter SOURCES ylm_test.cpp ../ylm.cpp ../timer.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ) AddTest( - TARGET MODULE_BASE_base_abfs-vector3_order + TARGET MODULE_BASE_abfs-vector3_order LIBS parameter SOURCES abfs-vector3_order_test.cpp ../abfs-vector3_order.cpp ) AddTest( - TARGET MODULE_BASE_base_global_file + TARGET MODULE_BASE_global_file LIBS parameter SOURCES global_file_test.cpp ../global_file.cpp ../global_function.cpp ../tool_quit.cpp ../global_variable.cpp ../memory.cpp ../timer.cpp ) AddTest( - TARGET MODULE_BASE_base_tool_title + TARGET MODULE_BASE_tool_title LIBS parameter SOURCES tool_title_test.cpp ../tool_title.cpp ../global_variable.cpp ../global_function.cpp ../timer.cpp ../tool_quit.cpp ../global_file.cpp ../memory.cpp ) AddTest( - TARGET MODULE_BASE_base_element_basis_index + TARGET MODULE_BASE_element_basis_index LIBS parameter SOURCES element_basis_index_test.cpp ../element_basis_index.cpp ) AddTest( - TARGET MODULE_BASE_base_tool_threading + TARGET MODULE_BASE_tool_threading LIBS parameter SOURCES tool_threading_test.cpp ../tool_threading.h )