From: Miodrag Milanovic Date: Mon, 17 Feb 2020 11:54:36 +0000 (+0100) Subject: No new error if already failing X-Git-Tag: working-ls180~788^2~11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be977cf7eb76e10866555543aef4809264b393de;p=yosys.git No new error if already failing --- diff --git a/kernel/log.cc b/kernel/log.cc index 997c39c64..89a403e63 100644 --- a/kernel/log.cc +++ b/kernel/log.cc @@ -331,7 +331,8 @@ static void logv_error_with_prefix(const char *prefix, f = stderr; log_last_error = vstringf(format, ap); - log("%s%s", prefix, log_last_error.c_str()); + if (check_expected_logs) + log("%s%s", prefix, log_last_error.c_str()); log_flush(); log_make_debug = bak_log_make_debug;