Gromacs  2021.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
termination.cpp File Reference
#include "gmxpre.h"
#include <gtest/gtest.h>
#include "gromacs/utility/path.h"
#include "gromacs/utility/stringutil.h"
#include "gromacs/utility/textreader.h"
#include "testutils/testasserts.h"
#include "testutils/testfilemanager.h"
#include "moduletest.h"
#include "terminationhelper.h"
+ Include dependency graph for termination.cpp:

Description

Tests for the mdrun termination functionality.

Todo:
This approach is not very elegant, but "stuff doesn't segfault or give a fatal error" is a useful result. We can improve it when we can mock out more do_md() functionality. Before that, we'd probably prefer not to run this test case in per-patchset verification, but this is the best we can do for now.
Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Typedefs

typedef MdrunTestFixture gmx::test::MdrunTerminationTest
 Convenience typedef.
 

Functions

static void gmx::test::organizeMdpFile (SimulationRunner *runner, int nsteps=2)
 Build a simple .mdp file.