From patchwork Wed Dec 21 07:42:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 635606 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp3369821pvb; Tue, 20 Dec 2022 23:43:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXtqHwNOMDuDlRMl5UlSueAWeLfXMjdizmih8yDjsYF1svOFx7y7odCQdoV0wlT1OCVIA/fk X-Received: by 2002:ac8:690d:0:b0:3a7:e805:a010 with SMTP id bt13-20020ac8690d000000b003a7e805a010mr917677qtb.21.1671608639214; Tue, 20 Dec 2022 23:43:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671608639; cv=none; d=google.com; s=arc-20160816; b=qCRPLK6JqPx+zN5LlqelO9YSiujBx/7QGwctHael96s4uYvd4j6UHAJh5OYm1Zo8OP 2z609MXyENngXuU1mmCORGzyrhTixsx94btq3StM4i4sl+fPZ/qZvrJwIs4M+Kw/bALC 99efwi6T3ZFuoan0GlZ7/vU9+LfGvWIhV7BVp03/S9IkZaxKBYeV11EwsnnUzWcInb8w yYFv/Mljx2bcT/u/giJDIVT4C+hjgJLQTTReRIqol0MmdUJHHwS4Z74tmebfhG4AIK0H Y+tZYRKGJS/K2DTwNUip5wE+2ZejPG/3JOqhyvyiVi6qwsKeiMtkTFBwjESRRuDc9dLJ 1i9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7gzfip+VtarrKCNhyN3EQVuk1lZMb8d8K27dCXSbGMI=; b=RH3ZLHp2yjJ5iKOiJHa6ziBhf2BxnqYAGTqLrltgd4uFNVh5OyvtzOWTWv8/NoJvT5 TXGiudq1ga6NxOBfMAfN773iXjBPiuzSFcMqnSFP9tFJiyovQwi3QCvWBa8P+hrSEsFZ HsOKY0lM3yfgFNs0KUMf6SOe15aHeOyQNVoi0ar9EdusVsd4TErPD2B2t3R0NdUPvTqy lMmAgvdI6fU9ldpKlZ7GxCHtX7OLghVlGRsevBfkaTIKaUMGSKjeTBs18pdeTpLYc/nJ yZVv/7s0+za/KPuEC7HEwrrdox+Z1JStpXu7McRoaUv2jGQzW6gvIb0PjmV78Q46Qotd g9Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mk22Dxyj; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d2-20020ae9ef02000000b006fbdb69389asi5763540qkg.121.2022.12.20.23.43.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Dec 2022 23:43:59 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mk22Dxyj; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7tko-00070c-UT; Wed, 21 Dec 2022 02:43:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7tkg-0006zz-G1 for qemu-devel@nongnu.org; Wed, 21 Dec 2022 02:42:58 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p7tke-00048i-Nx for qemu-devel@nongnu.org; Wed, 21 Dec 2022 02:42:58 -0500 Received: by mail-wm1-x32a.google.com with SMTP id k22-20020a05600c1c9600b003d1ee3a6289so809811wms.2 for ; Tue, 20 Dec 2022 23:42:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=7gzfip+VtarrKCNhyN3EQVuk1lZMb8d8K27dCXSbGMI=; b=Mk22DxyjD0zdw6NDjGCqF2Wcey6Ovas4yU4DvgV7TzHErQ6F1smyjrtqgqUjWFtj9j FR9VYwiGEkLALSgGJiOWRdJhZquwKY51vLpz+T4mwHWiN+eSndO/KzA2r6TFHkj0EBA/ 7mT3hiIwVT0FeJYwJo+sYQL8TNE+88OOSjF4IpOaSMcfObZsdyJKewUrBFz6uHAkzzaA XNnwfngE+YPgIVm0iJxjpt6kKVyYpFVktQbovrM2/SG5r1YjIHHMd8AtHLEEP7UfJRY1 NSV8nFfcjNDU300lh/Q6ZjmHeKDNi3cn8juSHep0SycKfkNgPO8O2huqDIewE19tIlGG THZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=7gzfip+VtarrKCNhyN3EQVuk1lZMb8d8K27dCXSbGMI=; b=RNAGe7/PpBUZmFyMyOzN5wB+wtVqgcHkC3/kOLtIcZOk9Nt1h1flcOJDst1rt/v+Lp 0pZWC5NIkmX4x/cvC070O3BFF/B5TqrioUr5CfbstQqBQ+ScaDsgLkFfWwXbUEEOayXI z4HuGJdsYfjCbtYe2S/ROuYIvUUFSA3q+T7unUxrqH3ECEahTd/imvlc5Jc3OIX7SGg4 Csa10bunXAOW61g3OEg4axDi4o7CoACQ/9d3kKVl9I5CX7eM+fs34p0mIIf71DE0jsHI hSMqhr/7UrfKLr2n1JHw0tjM1KgFo4X0F2AITW5VmulCXTgOE5z3T5WYPGgZxbdT76Mv q9Eg== X-Gm-Message-State: AFqh2kof29MYvrI7O/6lK94BuqeQT/cg7LofRmKoeR7WKQsRW+6+MqLC WcWGDnLzxV3G/CxfkEA2rslilnPLo/NAKlrQ X-Received: by 2002:a05:600c:54ef:b0:3d0:5254:8a43 with SMTP id jb15-20020a05600c54ef00b003d052548a43mr998797wmb.38.1671608574529; Tue, 20 Dec 2022 23:42:54 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id g11-20020a05600c4ecb00b003cfd64b6be1sm1716299wmq.27.2022.12.20.23.42.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 23:42:53 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A851F1FFBB; Wed, 21 Dec 2022 07:42:52 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Paolo Bonzini , fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta Subject: [[PATCH]--edit 3/6] configure: repeat ourselves for the benefit of CI Date: Wed, 21 Dec 2022 07:42:49 +0000 Message-Id: <20221221074252.1962896-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221221074252.1962896-1-alex.bennee@linaro.org> References: <20221221074252.1962896-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Our CI system echos the lines it executes but not the expansions. For the sake of a line of extra verbosity during the configure phase lets echo the invocation of script to stdout as well as the log when on CI. Signed-off-by: Alex Bennée Message-Id: <20221202174746.1218017-1-alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé --- v2 - only add the extra line on GITLAB_CI --- configure | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 7a804fb657..d89e883844 100755 --- a/configure +++ b/configure @@ -83,9 +83,10 @@ rm -f config.log # Print a helpful header at the top of config.log echo "# QEMU configure log $(date)" >> config.log printf "# Configured with:" >> config.log -printf " '%s'" "$0" "$@" >> config.log -echo >> config.log -echo "#" >> config.log +# repeat the invocation to log and stdout for CI +invoke=$(printf " '%s'" "$0" "$@") +test -n "$GITLAB_CI" && echo "configuring with: $invoke" +{ echo "$invoke"; echo; echo "#"; } >> config.log quote_sh() { printf "%s" "$1" | sed "s,','\\\\'',g; s,.*,'&',"