From patchwork Fri Nov 3 12:54:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Kuvyrkov X-Patchwork-Id: 740663 Delivered-To: patch@linaro.org Received: by 2002:a5d:538f:0:b0:32d:baff:b0ca with SMTP id d15csp1348649wrv; Fri, 3 Nov 2023 05:55:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAAet1baX1APBke52reS48DImTS6P8yNPjQRUAT0ASvSgp37t+IwLA8vnpXZzIWEeA8/p7 X-Received: by 2002:a05:620a:2720:b0:779:cf09:2854 with SMTP id b32-20020a05620a272000b00779cf092854mr20925256qkp.41.1699016139339; Fri, 03 Nov 2023 05:55:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1699016139; cv=pass; d=google.com; s=arc-20160816; b=f5cO+JhxHyc4zW8z3TUSfJ7CGxuw6wXu6wgpMIENS8ZhyjhKMniQpy47OUVgE95QhC J/dluHgbBp82r31GYb4FH5vzGKATsh+xUAfHGGyh9dDxxDbBQgcOytlVHiygwdRiKArK su0IHIQnRt7l8c+meNMUu8rYHEEU20RV+di6lEbk7CnEeV0aTTNTV4xu70Owtxz/TGAt uKXFZSVquC+esgu1m7NHIA0T0Obi1JEPE8JQmIXVw/rZpns5mRcu8fSZSdAcaFj6o9gC oOYpAR4Et0Dqt9O2Lbg8DJawc40ugdDhPt1ydkOyldKnOK27HwjjY+3CiAA+IiRiDK0U zI6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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:arc-filter:dmarc-filter:delivered-to; bh=5eZHC9R1kO6glMOA7DQNdhwEEkHCeq8WEKIy+7Mb+Gw=; fh=TkmlQM+uZbt1Lm1yzvmWaGqGS6Nr6tD6LwelSjvVJbk=; b=LdZdW8Paz2mgskLejDaoGp9JK3qbGm5MfSUE1LFK3oZNE+lsIoKh71pn8EWtz3a7qq Hv6hUiBrdQzhAZT2buSE+RAjRuFaOisNanRMnQGmCIV+2Fn2uWBgGeazyvqPrNgsXW9T 4Ukk+47jSUwBnEiz8qy1/HGRXWPyBq0J7hpjRwOSdJfPXH8D0MBgJg7kW3OWOG2tsFk9 6wSzGyaDMpsG/vYeMaqWsxRd2n17eK0TzNtOpsntNRQf5m9INSUMtv/7PqI56FOcSd2t E0YCD+0crQ3kRlalZhs+JNgvpPYJhHSYgefIhiQIiP/9gwJtvSqRamlyALxTQuK8Ndjp GeCg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RrXAo/au"; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+patch=linaro.org@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+patch=linaro.org@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id q3-20020a05620a0d8300b007741ee6ce02si1567610qkl.104.2023.11.03.05.55.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 05:55:39 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+patch=linaro.org@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RrXAo/au"; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+patch=linaro.org@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+patch=linaro.org@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F2738385840F for ; Fri, 3 Nov 2023 12:55:38 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by sourceware.org (Postfix) with ESMTPS id 7E8BC3858404 for ; Fri, 3 Nov 2023 12:54:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7E8BC3858404 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 7E8BC3858404 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::136 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699016108; cv=none; b=YvXjXKU0TixNGNjZOlrfGV4s1QeS789Vy/mCdWou6pOkp/aST0S4bL81znRjnueY07LZpFlc6Iir3s5rVl+B9DVQnj0QrufQNPzv9Wi6ZWpAl0JVYzz1CihB9PBpXA08QIXBh5vgzVL/3bkiVwrGSyYD/MYN3qv4Q95RaM714o0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699016108; c=relaxed/simple; bh=ngdkSK7YB3jgR4i3p5tbMza7CpdT5hHm39ZBLsq7SrA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=rN/K9rdlEUGQcouGVF+8iZgYw/d2n5G+LTJMOpuuFKS+tokA3OZ+tqY3WvfgGQp8Wqdv1Ls05q9RzUFECcHn/55kZFsPtUYEH+dUiixofCqnvXiHg7VtrXaFt6riFQM8u8DO6HPzxg7oY9dAmdlb3RTiw654yZyA2o9XKPYXJP0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-507c188c529so630223e87.0 for ; Fri, 03 Nov 2023 05:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699016095; x=1699620895; darn=gcc.gnu.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=5eZHC9R1kO6glMOA7DQNdhwEEkHCeq8WEKIy+7Mb+Gw=; b=RrXAo/auiaL2IY13DoCBm8w9ZfpJq/ymPbYC4fuifo+lEEiPEvgHpyY3EqB1Z3RUoG mUrJfiIDWv1JJr4jnGfCBliD3zLcGXdzxwzEMKuZICt2CXy2O0Qt4znN0d25jyhNcA5Q RkedzEutVfYxv5Xn6EgXCcmoq+tBvI/EvvbVdCCz0ME16gI8XfIBPQAsv+JjeJNYHhfV QlVQwaMVHYXO1Dfa7NBOME5DLGpLE790coVfqCP07Vnuuv9KreJ7YqKuzcZ5HFAI5/zt 8kewaSv9BXR6972ESGiysM9x/S0+oEUIZvjxuvrQk3YHgA0Shb3utnK4AaneT0CS30MN GdeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699016095; x=1699620895; 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=5eZHC9R1kO6glMOA7DQNdhwEEkHCeq8WEKIy+7Mb+Gw=; b=wQ6F1aFAHJ4VF45Dpdw+q036bIGnTa6XYwH4pt3N6dG6eVcgpCHiYx8hxdwNAH1kP5 uynuu3pYIximXERZoMTVeH40cf2WPSkFDBoDBIWxd9yeIhK46yNxX1mhnYopXPr/wZs7 S+AyF2fWUGLFgviqjbrYYfKbFskofdWcVza6Qa6js4WcC8CK2y2BUIAFLp57sIceReV/ KoiWPSMT0ClZI4YGVUNK7FwVcvlWaKt/O7d9GkSQ5ZBmyF1d69IyAkwWem2iAldxszPf h4LhO05FvSyUm+duX0DtQDdTmZczwtbDnQPuLUyufOW4I4g1CoIgMlyM7e9DWU2xw6BI Iyew== X-Gm-Message-State: AOJu0YzUMR1aXgKgR0NL4DXgfdXlyj77IL9VRNMOtiNT001RN3qeD185 hA6WAHLhtcxjBbiac5Oc7WnKCYqO3ZcmF0cJKF1I X-Received: by 2002:a05:6512:690:b0:503:2dcd:30ed with SMTP id t16-20020a056512069000b005032dcd30edmr14387015lfe.0.1699016095056; Fri, 03 Nov 2023 05:54:55 -0700 (PDT) Received: from localhost.localdomain (static.225.72.216.95.clients.your-server.de. [95.216.72.225]) by smtp.gmail.com with ESMTPSA id v25-20020ac258f9000000b004fbad09317csm217104lfo.189.2023.11.03.05.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 05:54:53 -0700 (PDT) From: Maxim Kuvyrkov To: gcc-patches@gcc.gnu.org Cc: Maxim Kuvyrkov , Bernhard Reutner-Fischer , Rainer Orth Subject: [PATCH v2] Format gotools.sum closer to what DejaGnu does Date: Fri, 3 Nov 2023 12:54:01 +0000 Message-Id: <20231103125401.3238220-1-maxim.kuvyrkov@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patch=linaro.org@gcc.gnu.org The only difference compared to v1 is using vanilla automake 1.15.1 to regenerate Makefile.in. I'll merge this as obvious if no-one objects in a day. === ... to restore compatability with validate_failures.py . The testsuite script validate_failures.py expects "Running ..." to extract values, and gotools.sum provided "Running ". Note that libgo.sum, which also uses Makefile logic to generate DejaGnu-like output, already has "..." suffix. gotools/ChangeLog: * Makefile.am: Update "Running ..." output * Makefile.in: Regenerate. Signed-off-by: Maxim Kuvyrkov --- gotools/Makefile.am | 4 ++-- gotools/Makefile.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gotools/Makefile.am b/gotools/Makefile.am index 7b5302990f8..d2376b9c25b 100644 --- a/gotools/Makefile.am +++ b/gotools/Makefile.am @@ -332,8 +332,8 @@ check: check-head check-go-tool check-runtime check-cgo-test check-carchive-test @cp gotools.sum gotools.log @for file in cmd_go-testlog runtime-testlog cgo-testlog carchive-testlog cmd_vet-testlog embed-testlog; do \ testname=`echo $${file} | sed -e 's/-testlog//' -e 's|_|/|'`; \ - echo "Running $${testname}" >> gotools.sum; \ - echo "Running $${testname}" >> gotools.log; \ + echo "Running $${testname} ..." >> gotools.sum; \ + echo "Running $${testname} ..." >> gotools.log; \ sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' < $${file} >> gotools.log; \ grep '^--- ' $${file} | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' -e 's/SKIP/UNTESTED/' | sort -k 2 >> gotools.sum; \ done diff --git a/gotools/Makefile.in b/gotools/Makefile.in index 2783b91ef4b..36c2ec2abd3 100644 --- a/gotools/Makefile.in +++ b/gotools/Makefile.in @@ -1003,8 +1003,8 @@ mostlyclean-local: @NATIVE_TRUE@ @cp gotools.sum gotools.log @NATIVE_TRUE@ @for file in cmd_go-testlog runtime-testlog cgo-testlog carchive-testlog cmd_vet-testlog embed-testlog; do \ @NATIVE_TRUE@ testname=`echo $${file} | sed -e 's/-testlog//' -e 's|_|/|'`; \ -@NATIVE_TRUE@ echo "Running $${testname}" >> gotools.sum; \ -@NATIVE_TRUE@ echo "Running $${testname}" >> gotools.log; \ +@NATIVE_TRUE@ echo "Running $${testname} ..." >> gotools.sum; \ +@NATIVE_TRUE@ echo "Running $${testname} ..." >> gotools.log; \ @NATIVE_TRUE@ sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' < $${file} >> gotools.log; \ @NATIVE_TRUE@ grep '^--- ' $${file} | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' -e 's/SKIP/UNTESTED/' | sort -k 2 >> gotools.sum; \ @NATIVE_TRUE@ done