From patchwork Thu Nov 2 12:48:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Kuvyrkov X-Patchwork-Id: 740443 Delivered-To: patch@linaro.org Received: by 2002:a5d:538f:0:b0:32d:baff:b0ca with SMTP id d15csp805596wrv; Thu, 2 Nov 2023 05:50:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKQyXOpz5UomcfiqdR2SfaTxsxZjVJZQEPQnJEsmeD4sAGPGlgDK9GSkgjWYAZojZ+k+Hf X-Received: by 2002:a05:622a:350:b0:41c:bac4:516e with SMTP id r16-20020a05622a035000b0041cbac4516emr12488931qtw.19.1698929419084; Thu, 02 Nov 2023 05:50:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698929419; cv=pass; d=google.com; s=arc-20160816; b=AD9tjBGxHETT4J0d5SCDrHgHjOQ0XQ8p9mhN7PKFpRu782l7DaL0N7DDah/z5ebQR6 ZkeOxGMjKIke/XUEDqzUgimbId6vg4ZQQBGKR2E4XDQeX55AUU79szKLEg5/HSfiybNk s8e6/a9QOjwrqrQS7A2923syfGW7z7LutQI3ITVtR1CNX86E6lSnuT6AjGGCLPN204vp 7UQMIE0kTafzNhI5GpNs44Tg+fb0aFTHi3bcxr90Uls1LTM9zyftbVqXbzdBiIxXYgYV SvqRYRLYcKfmCKmnlMWE5rABXhPZ6udqREMpKN1PUFncvqhRcVvxh8vqfR4nKbMKDb38 WF4Q== 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:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=P+LVAvjYS4ouWUZ+Lep0u8WDoAhf3927+9EJvByp29A=; fh=VC/Cb7yz9RMJGTzwxRYwl5GKpzTOwSyTf48p8JdqtnI=; b=VHdsOGG7wO/zoOaJA0UWcYsE0xBOMsr8tMbUBawh5l1KGKG35nwXzwZfCaaq2R4au0 Dkl57pWxhc79WkZvS4PtGC5ApUCZgjVr7fu4AaeABtF1yEiJ/TGd6LSMou3U14YZjCXQ g84E/TcNDnOvzMkbJwBpiu0GKyKa9AC8oH9tikmCI1z1y/9S6hru03YxliaRpnpCHeUU 61FqNWHJ1s7wDVSFn2sic34MppfGweWULwByxw3XnjdnO7afYZaJnbw4GqeGKdxE2FEn YP2gOUI3qoiY28essZ9obbxzneZ3yKWIOZsLjL9IDlS82yh4lXHp8xAHjyOGEMfI767K 85lA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="V/Rm3TaV"; 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 e7-20020ac85987000000b00403be2ad0besi4591009qte.11.2023.11.02.05.50.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 05:50:19 -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="V/Rm3TaV"; 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 BB431385782B for ; Thu, 2 Nov 2023 12:50:18 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id A66ED385841A for ; Thu, 2 Nov 2023 12:49:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A66ED385841A 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 A66ED385841A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::12e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698929389; cv=none; b=A4b8evr+JzvgzRAc4lcZu2nUmP4YriiAtlWgnx3gUd1UdSDnW6i6l2IkNlnzSuQ0W19d0dKEEPokbG0QUZHeJgOw87QmWemfo6JOqiAJU7HzlBNKpK64eHtamnCPz0jTBd7EUzUycgTQ+QUaHfpjayuzFIQLF1aK0Ymjx+KGlGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698929389; c=relaxed/simple; bh=Bk82HegjcdymBpj7S/dqp5uPC77XjbBB8csH5kMMyfI=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=NUnem5X61Otff5GgDkaKdL88LAknyGHdWehyjYx946gbLvJtGALhIpz1F1g34nDB/HifKrpSaZ6rVFkV/Zmbr9/ZXjhPClQyeNAVk6Uaieqh5EGp1ZyY2tTpKOVrd6GmVHQW7ofrd15wEPomf1+hk1ebTNgu3T7Tu0nsJCKToNo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-509469f552aso175043e87.0 for ; Thu, 02 Nov 2023 05:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698929376; x=1699534176; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=P+LVAvjYS4ouWUZ+Lep0u8WDoAhf3927+9EJvByp29A=; b=V/Rm3TaVim1Y8X4V1sOx7suGl4uKhKkxem87x8GB5IBPQCED2CQh4QguDfVArk78Qp 8QswehW6A3NcF1K6rGdjOSWM3cMDEmOxC3+fARgEQzBePBuhIHsOmC27NhTJiBYJ9idG mukhpne8NdAcSgeS6bQ416sPqCiBQHhRbI7+T1rofcQ/fc8umg5ascoCbAefwr5AGw0K rfjDYj+iAEBHU7GhgVYsFQas1Tg0Kx7y000azheXoU8rv+8Fl6gg2WrDy5lAkMa3ZEA3 tQTs0bB2axcpXLNlVYhhI+RVKXeE9vB0v0NipD7+L1KtsvEw0x9pKxInrKVF5gztWJ1v eRJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698929376; x=1699534176; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P+LVAvjYS4ouWUZ+Lep0u8WDoAhf3927+9EJvByp29A=; b=N35uHo3UAYvpMbeQvl9jQLfnXp7L/pywtiT5ulKtBCwfihS6TJmsH9fonWMjXPpBpg Sc5hTojq8IF5mShbAfgMtmr2M4AIxvMnikWbp+G/uNKUlg5jPHVd9lYZJLypK4nM3yJj QOUvC2Dbh9pump5C2q0jtdyEGSzbVu8QLxDxFEbMcL6cchQgcOOV7tljLXtNLUVrstAJ gY5prVZwfmTUTHij+HeQnt1TftVwycVm3fQEoqobU1QD0ORlV6zWkOeP5MWVAa6oNPeK 8+Hj8ZoCDdQ3cIj/gJGdPAIGJUTBsaXJKdvoXf+2aPIU5TIiMIhsm0chzpZZSbFG+HL6 bzPg== X-Gm-Message-State: AOJu0YwRVnfVMwMIu6xWU56vx0vIBWjuOlGADLQSrVjitmwn5f4be3Gu tIQs+qkMHw4uv1jDYq6zjMU/Oxcb+TsTIxwNnQ== X-Received: by 2002:a05:6512:3196:b0:502:af44:21c2 with SMTP id i22-20020a056512319600b00502af4421c2mr13783763lfe.5.1698929375743; Thu, 02 Nov 2023 05:49:35 -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 o3-20020ac24943000000b0050826c3780dsm478400lfi.134.2023.11.02.05.49.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 05:49:34 -0700 (PDT) From: Maxim Kuvyrkov To: gcc-patches@gcc.gnu.org Cc: Maxim Kuvyrkov , Bernhard Reutner-Fischer Subject: [PATCH] Format gotools.sum closer to what DejaGnu does Date: Thu, 2 Nov 2023 12:48:55 +0000 Message-Id: <20231102124855.3226695-1-maxim.kuvyrkov@linaro.org> X-Mailer: git-send-email 2.34.1 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 ... 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. --- gotools/Makefile.am | 4 ++-- gotools/Makefile.in | 5 +++-- 2 files changed, 5 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..9cc238e748d 100644 --- a/gotools/Makefile.in +++ b/gotools/Makefile.in @@ -317,6 +317,7 @@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ @@ -1003,8 +1004,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