Skip to content

Commit bbcee98

Browse files
committed
DONT MODIFY Tests USING add_test
1 parent 3afccd9 commit bbcee98

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/module_basis/module_ao/test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ AddTest(
7878

7979

8080
AddTest(
81-
TARGET BASIS_MODULE_AO_parallel_orbitals_test
81+
TARGET 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 BASIS_MODULE_AO_parallel_orbitals_test_para
88+
add_test(NAME parallel_orbitals_test_para
8989
COMMAND ${BASH} parallel_orbitals_test.sh
9090
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
9191
)

source/module_basis/module_pw/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ AddTest(
1818
test_tool.cpp test-big.cpp test-other.cpp test_sup.cpp
1919
)
2020

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

0 commit comments

Comments
 (0)