diff --git a/unittest/formats/CMakeLists.txt b/unittest/formats/CMakeLists.txt index d6c979845c..b60aa3ab9b 100644 --- a/unittest/formats/CMakeLists.txt +++ b/unittest/formats/CMakeLists.txt @@ -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=$") + set_tests_properties(DumpAtom PROPERTIES ENVIRONMENT "BINARY2TXT_BINARY=$") endif() diff --git a/unittest/formats/test_dump.cpp b/unittest/formats/test_dump_atom.cpp similarity index 100% rename from unittest/formats/test_dump.cpp rename to unittest/formats/test_dump_atom.cpp