Skip to content

Commit cad9f06

Browse files
committed
Add tests in subdirectories
1 parent 3b2c162 commit cad9f06

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

source/module_base/grid/test/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
remove_definitions(-D__MPI)
22

33
AddTest(
4-
TARGET test_delley
4+
TARGET MODULE_BASE_GRID_test_delley
55
SOURCES test_delley.cpp
66
../delley.cpp
77
../../ylm.cpp
88
)
99

1010
AddTest(
11-
TARGET test_radial
11+
TARGET MODULE_BASE_GRID_test_radial
1212
SOURCES test_radial.cpp
1313
../radial.cpp
1414
)
1515

1616
AddTest(
17-
TARGET test_partition
17+
TARGET MODULE_BASE_GRID_test_partition
1818
SOURCES test_partition.cpp
1919
../partition.cpp
2020
../radial.cpp
2121
../delley.cpp
2222
)
2323

2424
AddTest(
25-
TARGET test_batch
25+
TARGET MODULE_BASE_GRID_test_batch
2626
SOURCES test_batch.cpp
2727
../batch.cpp
2828
LIBS ${math_libs}
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 Base_Kernels_UTs
4+
TARGET MODULE_BASE_KERNELS_Unittests
55
LIBS parameter ${math_libs} base device
66
SOURCES math_ylm_op_test.cpp math_kernel_test.cpp
77
)

source/module_base/libm/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 Base_Libm_UTs
4+
TARGET MODULE_BASE_LIBM_UTs
55
SOURCES libm_test.cpp
66
../branred.cpp
77
../cexp.cpp

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 MODULE_BASE_CONTAINER_Unittests
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 MODULE_BASE_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 MODULE_BASE_MIXING_unittests
44
LIBS parameter base device ${math_libs}
55
SOURCES mixing_test.cpp
66
)

0 commit comments

Comments
 (0)