Merge release-5-0 into master
[alexxy/gromacs.git] / src / programs / mdrun / tests / rerun.cpp
index eac4fc8e59866117041a46f1323d1784f720255f..54b4e5951e3605cc809e40534b6611e0b6e58dd7 100644 (file)
@@ -47,6 +47,8 @@
 #include "gromacs/options/filenameoption.h"
 #include "testutils/cmdlinetest.h"
 
+#include "config.h"
+
 namespace
 {
 
@@ -77,7 +79,7 @@ TEST_P(MdrunRerun, WithDifferentInputFormats)
  * version. */
 const char *trajectoryFileNames[] = {
     "../../../gromacs/gmxana/legacytests/spc2-traj.trr",
-#ifdef GMX_USE_TNG
+#if defined GMX_USE_TNG && defined HAVE_ZLIB
     "../../../gromacs/gmxana/legacytests/spc2-traj.tng",
 #endif
     "../../../gromacs/gmxana/legacytests/spc2-traj.xtc",