From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by sourceware.org (Postfix) with ESMTPS id 6AB7A3858288 for ; Fri, 12 Apr 2024 20:06:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6AB7A3858288 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6AB7A3858288 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::232 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712952404; cv=none; b=gDq+mWehVdK+ECvGYMjIw0XILuTOaL1P5BfYokROA/dFjplkUQ4N2910czgB2foHT5BBYAES0VDSHpZ/L21vYInSo9uUsPlRjrLVPRhuNvHbRPtf9efymAAMM9YJ4oXKe4c7GOUKKeA+1dGEwkb86UjtGoBRsS++Wk0I/HfMmcU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712952404; c=relaxed/simple; bh=P3X+rLJlHRktHieIpv7sFtsJlApo5ftHtEV0QriUjKQ=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=QaI0yZPBiMwI4IbBwvz6mSapL+jtgyaNhMJxMta/AVocqHUuviGGUEqMiCyNOICQTCqEUcUhn7VuvDEJD28F6hBMPkeB6mGLV0JiZALpyCS63cI50/mUPOdmDNuLw1LDUZMdSJpHOc7WQTB1Q/EXv218ROHsidzjLwrqp1Tw9AM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oi1-x232.google.com with SMTP id 5614622812f47-3c3d2d0e86dso621639b6e.2 for ; Fri, 12 Apr 2024 13:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712952402; x=1713557202; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lmPQDmqTTfIGysjc56p17JY2oYXQVWTy8h4dOWrrPhc=; b=jN9Q6/jLL9IdjEw7ePt5c5fTONoXgKT/TO1UpaGK/3LIHp3LSpcQG80IQhgY9jEYqj nD3VPUHUKzC/XqWd6ey7slUAiMqhY4dDXqhJLJ/TiwwXBVsUG8ok8rK7LZATzRPNZeMV itjY4/nJUUeU8BkfBlkAsVgEC0YlQKsyldhJPlKzx9Z7nO9lHdATD3JfTPuBmasMr2YW G1cQ0Z2vJFQN5vmdrsNtUNWSstIami8JQIVSPO3ECHng50jyG8YFbULziJ6NlF+QNC3h H0c46znhQhV71SLXbHj6p5uk8u+3pTaagFRM0OEc4SOPrSvndpqMf/7/Mko7SySLsJ4R mLOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712952402; x=1713557202; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lmPQDmqTTfIGysjc56p17JY2oYXQVWTy8h4dOWrrPhc=; b=p05laGJbcMPeCQsdsHIAsFHnspULneqaev+JDX1mDfdnLuSHr4jxBcodHFHf1Ag000 tfLbcifBLnRhyVOK8FwqyZwt94PzbDsUWd6XDrAxI1dZZK3/Qnp/ho7fiAPXUBE+jqjm D37wEGFFuUVbtOQ8JMQx/UQt7w0fdZ5zHhcIpSjOnNnkNXutexbicd63ojmEDyWAu2qZ ZsYBs2Ug5mw4XTYN2vz0Xqo/5CcGdvEHpke7T6zIhpDYagI6Yi3okLwo3QxwCHM33f+H zeNhogbpYR9w8/duQtFRkTxq6U18eJKA9F5vJz5sN44NkoUsubf9QPce8/VTaktC6Wzt 7hWA== X-Gm-Message-State: AOJu0YwB8N54SBdCLeyR5iwQTz4dFLdDJ8H2YOohfTe/88MYCv5Jx53G HvQrmwf+wW2wI2oxBCFT5wBUqo6PW87Oi9O/spvk+hHei6nQ1LohB7TWg5KlslSogghKXtk2Sjr GG6pEqw== X-Google-Smtp-Source: AGHT+IHWQWMdAGTbwfeavkEiYt0c3eFS2YOWmrSXPcsSrAqKbOD11jyONmo1Jk+uXv1h2ZubKmTtwQ== X-Received: by 2002:a05:6808:1cf:b0:3c4:f70b:7755 with SMTP id x15-20020a05680801cf00b003c4f70b7755mr3465558oic.20.1712952401989; Fri, 12 Apr 2024 13:06:41 -0700 (PDT) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id b1-20020a056808010100b003c5f54d014dsm701654oie.51.2024.04.12.13.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 13:06:41 -0700 (PDT) From: Christophe Lyon To: buildbot@sourceware.org Cc: Christophe Lyon Subject: [PATCH 3/6] autoregen.py: Flush all print commands Date: Fri, 12 Apr 2024 20:05:56 +0000 Message-Id: <20240412200559.1649050-4-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412200559.1649050-1-christophe.lyon@linaro.org> References: <20240412200559.1649050-1-christophe.lyon@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: For consistency and easier debug of traces --- builder/containers/autoregen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/containers/autoregen.py b/builder/containers/autoregen.py index 6e341e2..c52a524 100755 --- a/builder/containers/autoregen.py +++ b/builder/containers/autoregen.py @@ -56,7 +56,7 @@ AUTORECONF_DIRS = [ # # Print the command on stdout prior to running it. def run_shell(cmd: str): - print(f"+ {cmd}") + print(f"+ {cmd}", flush=True) res = subprocess.run( f"{cmd}", shell=True, @@ -105,7 +105,7 @@ run_shell(f"{AUTOMAKE_BIN} --version") run_shell(f"{ACLOCAL_BIN} --version") run_shell(f"{AUTOHEADER_BIN} --version") -print(f"Extra environment: {EXTRA_ENV}") +print(f"Extra environment: {EXTRA_ENV}", flush=True) config_folders: list[Path] = [] repo_root = Path.cwd() -- 2.34.1