Implemented more unit tests; stuck on atomfile

This commit is contained in:
Karl Hammond
2022-09-29 23:39:39 -05:00
parent a7071fea78
commit 8ee17edcab
5 changed files with 318 additions and 49 deletions

View File

@ -70,10 +70,10 @@ if(CMAKE_Fortran_COMPILER)
add_test(NAME FortranExtractFix COMMAND test_fortran_extract_fix)
add_executable(test_fortran_extract_variable wrap_extract_variable.cpp test_fortran_extract_variable.f90)
target_compile_definitions(test_fortran_extract_variable PRIVATE -DTEST_INPUT_FOLDER=${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(test_fortran_extract_variable PRIVATE flammps lammps MPI::MPI_Fortran GTest::GTestMain)
add_test(NAME FortranExtractVariable COMMAND test_fortran_extract_variable)
else()
message(STATUS "Skipping Tests for the LAMMPS Fortran Module: no Fortran compiler")
endif()