From a0651d41d3ceeeba02f85d7a4f42748d3aa5a1b3 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Thu, 24 Oct 2019 21:21:33 +0200
Subject: [PATCH] Added the comoving cooling binary to the gitignore.

---
 .gitignore                  | 1 +
 tests/testComovingCooling.c | 2 +-
 tests/testCooling.c         | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index c29fa3e3a4..e1a612eb29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -162,6 +162,7 @@ tests/testOutputList
 tests/testCbrt
 tests/testFormat.sh
 tests/testCooling
+tests/testComovingCooling
 tests/testHashmap
 tests/*.png
 tests/*.txt
diff --git a/tests/testComovingCooling.c b/tests/testComovingCooling.c
index b2c7de115a..ba8de08384 100644
--- a/tests/testComovingCooling.c
+++ b/tests/testComovingCooling.c
@@ -21,7 +21,7 @@
 /* Local headers. */
 #include "swift.h"
 
-#if defined(CHEMISTRY_EAGLE) && defined(COOLING_EAGLE)
+#if defined(CHEMISTRY_EAGLE) && defined(COOLING_EAGLE) && defined(GADGET2_SPH)
 
 /*
  * @brief Assign particle density and entropy corresponding to the
diff --git a/tests/testCooling.c b/tests/testCooling.c
index 9cf38fc23f..227d12d02c 100644
--- a/tests/testCooling.c
+++ b/tests/testCooling.c
@@ -21,7 +21,7 @@
 /* Local headers. */
 #include "swift.h"
 
-#if defined(CHEMISTRY_EAGLE) && defined(COOLING_EAGLE)
+#if defined(CHEMISTRY_EAGLE) && defined(COOLING_EAGLE) && defined(GADGET2_SPH)
 
 /*
  * @brief Assign particle density and entropy corresponding to the
-- 
GitLab