Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: fix running of parallel ut #2145

Merged
merged 1 commit into from
Mar 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/module_base/test_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ install(FILES parallel_common_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
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
COMMAND ${BASH} parallel_common_test.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
Expand Down
Empty file modified source/module_base/test_parallel/parallel_common_test.sh
100644 → 100755
Empty file.
Empty file modified source/module_base/test_parallel/parallel_global_test.sh
100644 → 100755
Empty file.
Empty file modified source/module_base/test_parallel/parallel_reduce_test.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions source/module_cell/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ remove_definitions(-D__CUDA)
remove_definitions(-D__ROCM)
remove_definitions(-D__EXX)

find_program(BASH bash)
install(DIRECTORY support DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
install(FILES bcast_atom_pseudo_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
install(FILES bcast_atom_spec_test.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
Expand Down
Empty file modified source/module_cell/test/bcast_atom_pseudo_test.sh
100644 → 100755
Empty file.
Empty file modified source/module_cell/test/bcast_atom_spec_test.sh
100644 → 100755
Empty file.
Empty file modified source/module_cell/test/klist_test_para.sh
100644 → 100755
Empty file.
Empty file modified source/module_cell/test/parallel_kpoints_test.sh
100644 → 100755
Empty file.
Empty file modified source/module_cell/test/unitcell_test_parallel.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions source/module_cell/test_pw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ AddTest(
../read_pp_vwr.cpp ../read_pp_blps.cpp ../../module_io/output.cpp
)

find_program(BASH bash)
add_test(NAME cell_unitcell_test_pw_para
COMMAND ${BASH} unitcell_test_pw_para.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
Expand Down
Empty file modified source/module_cell/test_pw/unitcell_test_pw_para.sh
100644 → 100755
Empty file.