Skip to content

Commit 3afccd9

Browse files
committed
Modify test names in MODULE_BASE and MODULE_BASIS
1 parent 5d0949c commit 3afccd9

File tree

8 files changed

+26
-26
lines changed

8 files changed

+26
-26
lines changed

source/module_base/module_container/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
remove_definitions(-D__MPI)
22

33
AddTest(
4-
TARGET container_uts
4+
TARGET BASE_MODULE_CONTAINER_container_uts
55
LIBS parameter container base device ${math_libs}
66
SOURCES tensor_test.cpp tensor_shape_test.cpp allocator_test.cpp
77
tensor_buffer_test.cpp tensor_map_test.cpp
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AddTest(
2-
TARGET Module_Device_UTs
2+
TARGET BASE_MODULE_DEVICE_UnitTests
33
LIBS parameter ${math_libs} base device
44
SOURCES memory_test.cpp device_test.cpp
55
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
remove_definitions(-D__MPI)
22
AddTest(
3-
TARGET test_mixing
3+
TARGET BASE_MODULE_MIXING_test_mixing
44
LIBS parameter base device ${math_libs}
55
SOURCES mixing_test.cpp
66
)

source/module_basis/module_ao/test/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,29 @@ install(DIRECTORY GaAs DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
4646

4747

4848
AddTest(
49-
TARGET ORB_nonlocal_test
49+
TARGET BASIS_MODULE_AO_ORB_nonlocal_test
5050
SOURCES ORB_nonlocal_test.cpp
5151
../ORB_nonlocal.cpp
5252
../ORB_nonlocal_lm.cpp
5353
LIBS parameter ${math_libs} device base
5454
)
5555

5656
AddTest(
57-
TARGET ORB_nonlocal_lm_test
57+
TARGET BASIS_MODULE_AO_ORB_nonlocal_lm_test
5858
SOURCES ORB_nonlocal_lm_test.cpp
5959
../ORB_nonlocal_lm.cpp
6060
LIBS parameter ${math_libs} device base
6161
)
6262

6363
AddTest(
64-
TARGET ORB_atomic_lm_test
64+
TARGET BASIS_MODULE_AO_ORB_atomic_lm_test
6565
SOURCES ORB_atomic_lm_test.cpp
6666
../ORB_atomic_lm.cpp
6767
LIBS parameter ${math_libs} device base
6868
)
6969

7070
AddTest(
71-
TARGET ORB_read_test
71+
TARGET BASIS_MODULE_AO_ORB_read_test
7272
SOURCES ORB_read_test.cpp
7373
../ORB_read.cpp
7474
../ORB_atomic.cpp
@@ -78,14 +78,14 @@ AddTest(
7878

7979

8080
AddTest(
81-
TARGET parallel_orbitals_test
81+
TARGET BASIS_MODULE_AO_parallel_orbitals_test
8282
SOURCES parallel_orbitals_test.cpp ../parallel_orbitals.cpp
8383
LIBS parameter ${math_libs} device base
8484
)
8585

8686
install(FILES parallel_orbitals_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
8787
find_program(BASH bash)
88-
add_test(NAME parallel_orbitals_test_para
88+
add_test(NAME BASIS_MODULE_AO_parallel_orbitals_test_para
8989
COMMAND ${BASH} parallel_orbitals_test.sh
9090
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
9191
)

source/module_basis/module_nao/test/CMakeLists.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AddTest(
2-
TARGET numerical_radial
2+
TARGET BASIS_MODULE_NAO_numerical_radial
33
SOURCES
44
numerical_radial_test.cpp
55
../numerical_radial.cpp
@@ -8,7 +8,7 @@ AddTest(
88
)
99

1010
AddTest(
11-
TARGET atomic_radials
11+
TARGET BASIS_MODULE_NAO_atomic_radials
1212
SOURCES
1313
atomic_radials_test.cpp
1414
../atomic_radials.cpp
@@ -21,7 +21,7 @@ AddTest(
2121
)
2222

2323
AddTest(
24-
TARGET beta_radials
24+
TARGET BASIS_MODULE_NAO_beta_radials
2525
SOURCES
2626
beta_radials_test.cpp
2727
../beta_radials.cpp
@@ -34,7 +34,7 @@ AddTest(
3434
)
3535

3636
AddTest(
37-
TARGET hydrogen_radials
37+
TARGET BASIS_MODULE_NAO_hydrogen_radials
3838
SOURCES
3939
hydrogen_radials_test.cpp
4040
../hydrogen_radials.cpp
@@ -47,7 +47,7 @@ AddTest(
4747
)
4848

4949
AddTest(
50-
TARGET pswfc_radials
50+
TARGET BASIS_MODULE_NAO_pswfc_radials
5151
SOURCES
5252
pswfc_radials_test.cpp
5353
../pswfc_radials.cpp
@@ -60,7 +60,7 @@ AddTest(
6060
)
6161

6262
AddTest(
63-
TARGET sphbes_radials
63+
TARGET BASIS_MODULE_NAO_sphbes_radials
6464
SOURCES
6565
sphbes_radials_test.cpp
6666
../sphbes_radials.cpp
@@ -73,7 +73,7 @@ AddTest(
7373
)
7474

7575
AddTest(
76-
TARGET radial_collection
76+
TARGET BASIS_MODULE_NAO_radial_collection
7777
SOURCES
7878
radial_collection_test.cpp
7979
../radial_collection.cpp
@@ -91,7 +91,7 @@ AddTest(
9191
)
9292

9393
AddTest(
94-
TARGET two_center_table
94+
TARGET BASIS_MODULE_NAO_two_center_table
9595
SOURCES
9696
two_center_table_test.cpp
9797
../two_center_table.cpp
@@ -111,7 +111,7 @@ AddTest(
111111
)
112112

113113
AddTest(
114-
TARGET real_gaunt_table
114+
TARGET BASIS_MODULE_NAO_real_gaunt_table
115115
SOURCES
116116
real_gaunt_table_test.cpp
117117
../real_gaunt_table.cpp
@@ -120,7 +120,7 @@ AddTest(
120120
)
121121

122122
AddTest(
123-
TARGET two_center_integrator
123+
TARGET BASIS_MODULE_NAO_two_center_integrator
124124
SOURCES
125125
two_center_integrator_test.cpp
126126
../two_center_integrator.cpp
@@ -140,7 +140,7 @@ AddTest(
140140
)
141141

142142
AddTest(
143-
TARGET two_center_bundle
143+
TARGET BASIS_MODULE_NAO_two_center_bundle
144144
SOURCES
145145
two_center_bundle_test.cpp
146146
../two_center_bundle.cpp
@@ -160,7 +160,7 @@ AddTest(
160160
)
161161

162162
AddTest(
163-
TARGET generate_projection
163+
TARGET BASIS_MODULE_NAO_generate_projection
164164
SOURCES
165165
projgen_test.cpp
166166
../two_center_bundle.cpp

source/module_basis/module_pw/test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
add_definitions(-D__NORMAL)
22
AddTest(
3-
TARGET pw_test
3+
TARGET BASIS_MODULE_PW_UnitTest
44
LIBS parameter ${math_libs} planewave device
55
SOURCES ../../../module_base/matrix.cpp ../../../module_base/complexmatrix.cpp ../../../module_base/matrix3.cpp ../../../module_base/tool_quit.cpp
66
../../../module_base/mymath.cpp ../../../module_base/timer.cpp ../../../module_base/memory.cpp
@@ -18,7 +18,7 @@ AddTest(
1818
test_tool.cpp test-big.cpp test-other.cpp test_sup.cpp
1919
)
2020

21-
add_test(NAME pw_test_parallel
21+
add_test(NAME BASIS_MODULE_PW_UnitTest_parallel
2222
COMMAND mpirun -np 3 ./pw_test; mpirun -np 4 ./pw_test
2323
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
2424
)

source/module_basis/module_pw/test_gpu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
add_definitions(-D__NORMAL)
22
if (USE_CUDA)
33
AddTest(
4-
TARGET pw_test_gpu
4+
TARGET BASIS_MODULE_PW_UnitTest_gpu
55
LIBS parameter ${math_libs} base planewave device FFTW3::FFTW3_FLOAT
66
SOURCES pw_test.cpp pw_basis_C2R.cpp pw_basis_C2C.cpp pw_basis_k_C2C.cpp
77
)

source/module_basis/module_pw/test_serial/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ add_library(
2424
)
2525

2626
AddTest(
27-
TARGET basis_pw_serial
27+
TARGET BASIS_MODULE_PW_UnitTest_serial
2828
LIBS parameter ${math_libs} planewave_serial device base
2929
SOURCES pw_basis_test.cpp
3030
)
3131

3232
AddTest(
33-
TARGET basis_pw_k_serial
33+
TARGET BASIS_MODULE_PW_UnitTest_k_serial
3434
LIBS parameter ${math_libs} planewave_serial device base
3535
SOURCES pw_basis_k_test.cpp
3636
)

0 commit comments

Comments
 (0)