Rename test_dump.cpp to test_dump_atom.cpp

This commit is contained in:
Richard Berger 2020-08-13 11:14:30 -04:00
parent 7b0bfed01d
commit 836ba01d51
No known key found for this signature in database
GPG Key ID: A9E83994E0BA0CAB
2 changed files with 5 additions and 5 deletions

View File

@ -24,11 +24,11 @@ add_executable(test_file_operations test_file_operations.cpp)
target_link_libraries(test_file_operations PRIVATE lammps GTest::GMock GTest::GTest)
add_test(NAME FileOperations COMMAND test_file_operations WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
add_executable(test_dump test_dump.cpp)
target_link_libraries(test_dump PRIVATE lammps GTest::GMock GTest::GTest)
add_test(NAME Dump COMMAND test_dump WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
set_tests_properties(Dump PROPERTIES ENVIRONMENT "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS_DIR}")
add_executable(test_dump_atom test_dump_atom.cpp)
target_link_libraries(test_dump_atom PRIVATE lammps GTest::GMock GTest::GTest)
add_test(NAME DumpAtom COMMAND test_dump_atom WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
set_tests_properties(DumpAtom PROPERTIES ENVIRONMENT "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS_DIR}")
if (BUILD_TOOLS)
set_tests_properties(Dump PROPERTIES ENVIRONMENT "BINARY2TXT_BINARY=$<TARGET_FILE:binary2txt>")
set_tests_properties(DumpAtom PROPERTIES ENVIRONMENT "BINARY2TXT_BINARY=$<TARGET_FILE:binary2txt>")
endif()