add unit test for chunks
This commit is contained in:
@ -58,10 +58,17 @@ target_compile_definitions(test_reset_ids PRIVATE -DTEST_INPUT_FOLDER=${CMAKE_CU
|
||||
target_link_libraries(test_reset_ids PRIVATE lammps GTest::GMock)
|
||||
add_test(NAME ResetIDs COMMAND test_reset_ids)
|
||||
|
||||
add_executable(test_compute_global test_compute_global.cpp)
|
||||
target_compile_definitions(test_compute_global PRIVATE -DTEST_INPUT_FOLDER=${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_link_libraries(test_compute_global PRIVATE lammps GTest::GMock)
|
||||
add_test(NAME ComputeGlobal COMMAND test_compute_global)
|
||||
if(PKG_MOLECULE)
|
||||
add_executable(test_compute_global test_compute_global.cpp)
|
||||
target_compile_definitions(test_compute_global PRIVATE -DTEST_INPUT_FOLDER=${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_link_libraries(test_compute_global PRIVATE lammps GTest::GMock)
|
||||
add_test(NAME ComputeGlobal COMMAND test_compute_global)
|
||||
|
||||
add_executable(test_compute_chunk test_compute_chunk.cpp)
|
||||
target_compile_definitions(test_compute_chunk PRIVATE -DTEST_INPUT_FOLDER=${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_link_libraries(test_compute_chunk PRIVATE lammps GTest::GMock)
|
||||
add_test(NAME ComputeChunk COMMAND test_compute_chunk)
|
||||
endif()
|
||||
|
||||
add_executable(test_mpi_load_balancing test_mpi_load_balancing.cpp)
|
||||
target_link_libraries(test_mpi_load_balancing PRIVATE lammps GTest::GMock)
|
||||
|
||||
Reference in New Issue
Block a user