From 2d49313055664943ae6e65709ce7b9f7fbaef53a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 5 May 2022 04:21:24 +0300 Subject: [PATCH 42/42] Turn "Did not find a cm solution..." to LOG_DEBUG on testmatic builds See osdn #44438 Signed-off-by: Marko Lindqvist --- common/aicore/cm.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common/aicore/cm.c b/common/aicore/cm.c index 9d54477fa4..7711a3995c 100644 --- a/common/aicore/cm.c +++ b/common/aicore/cm.c @@ -2046,7 +2046,13 @@ static void cm_find_best_solution(struct cm_state *state, loop_count++; if (loop_count == max_count + 1) { - log_warn("Did not find a cm solution in %d iterations for %s.", + log_base( +#ifdef FREECIV_TESTMATIC + LOG_DEBUG, +#else /* FREECIV_TESTMATIC */ + LOG_WARN, +#endif /* FREECIV_TESTMATIC */ + "Did not find a cm solution in %d iterations for %s.", max_count, city_name_get(state->pcity)); #ifndef CM_LOOP_NO_LIMIT result->aborted = TRUE; -- 2.35.1