gmx_add_gtest_executable(${exename}
CPP_SOURCE_FILES
+ checkpoint.cpp
exactcontinuation.cpp
grompp.cpp
initialconstraints.cpp
ewaldsurfaceterm.cpp
multiple_time_stepping.cpp
orires.cpp
- simulator.cpp
swapcoords.cpp
tabulated_bonded_interactions.cpp
# pseudo-library for code for mdrun
# TODO: Link specific modules: topology
target_link_libraries(${exename} PRIVATE legacy_modules)
gmx_register_gtest_test(${testname} ${exename} OPENMP_THREADS 2 INTEGRATION_TEST IGNORE_LEAKS)
+
+# End-to-end tests comparing different simulator code paths
+set(testname "MdrunSimulatorComparison")
+set(exename "mdrun-simulator-comparison-test")
+
+gmx_add_gtest_executable(${exename}
+ CPP_SOURCE_FILES
+ # files with code for tests
+ simulator.cpp
+ # pseudo-library for code for mdrun
+ $<TARGET_OBJECTS:mdrun_objlib>
+ )
+target_link_libraries(${exename} PRIVATE mdrun_test_infrastructure)
+gmx_register_gtest_test(${testname} ${exename} OPENMP_THREADS 2 INTEGRATION_TEST IGNORE_LEAKS)