Skip to content

Commit c23fcc6

Browse files
author
root
committed
fix test
1 parent 3763f3a commit c23fcc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_io/test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ AddTest(
244244
SOURCES io_dmk_test.cpp ../io_dmk.cpp ../output.cpp
245245
)
246246

247-
AddTest(
247+
add_test(
248248
TARGET io_dmk_io_parallel
249249
COMMAND mpirun -np 2 ./io_dmk_io
250250
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
@@ -256,7 +256,7 @@ AddTest(
256256
SOURCES read_wfc_nao_test.cpp ../read_wfc_nao.cpp ../../module_psi/psi.cpp ../../module_basis/module_ao/parallel_orbitals.cpp
257257
)
258258

259-
AddTest(
259+
add_test(
260260
TARGET io_read_wfc_nao_test_parallel
261261
COMMAND mpirun -np 2 ./io_read_wfc_nao_test
262262
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}

0 commit comments

Comments
 (0)