Fix parallel testing
[alexxy/gromacs.git] / src / programs / mdrun / tests / densityfittingmodule.cpp
index 5a2e068f8bafb3153e7e1f542a18d1c17c8a9557..7149eee08b3d87a291fdd7143e6900c34bcc08a2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -42,6 +42,8 @@
  */
 #include "gmxpre.h"
 
+#include "config.h"
+
 #include <string>
 
 #include <gmock/gmock.h>
@@ -171,8 +173,8 @@ TEST_F(DensityFittingTest, GromppErrorWhenEnergyEvaluationFrequencyMismatch)
 {
     runner_.useStringAsMdpFile(mdpMdDensfitYesUnsetValues + mdpEnergyAndDensityfittingIntervalMismatch_);
 
-    EXPECT_DEATH_IF_SUPPORTED(runner_.callGrompp(),
-                              ".*is not a multiple of density-guided-simulation-nst.*");
+    GMX_EXPECT_DEATH_IF_SUPPORTED(runner_.callGrompp(),
+                                  ".*is not a multiple of density-guided-simulation-nst.*");
 }
 
 /* Fit a subset of three of twelve argon atoms into a reference density