From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mbf5FRxVYmoMQSoAWB0awg (envelope-from ) for ; Thu, 23 Jul 2026 13:53:32 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=LyIckBV1; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 50AAF1E166; Thu, 23 Jul 2026 13:53:32 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 842CF1E033 for ; Thu, 23 Jul 2026 13:53:31 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DC78F4BA23F6 for ; Thu, 23 Jul 2026 17:53:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC78F4BA23F6 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=LyIckBV1 Received: from earwig.apple.relay.mailchannels.net (earwig.apple.relay.mailchannels.net [23.83.208.54]) by sourceware.org (Postfix) with ESMTPS id DC2534BA7997 for ; Thu, 23 Jul 2026 17:52:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DC2534BA7997 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=palves.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DC2534BA7997 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=23.83.208.54 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784829127; cv=none; b=wR3CtYUQtrnTRyJ34IvFYxqWzqaOfZmhcfXbOAeJ/k1smw0Y6gE4vSDy7XDkMLEoXw7a6OHtlkEWyw4myRXHBmRAuJpn0r3CWvS1aD5xyngLCkT+42yXlzjySZLK4u5piQTh4pCeBMwNoxf46k6n5VLKF+s2PiqOpmuVHQ4JANk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784829127; c=relaxed/simple; bh=7L/htgMRoXK6o7RRm6f050NttsMG1uXjXjezpD0ieCc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GIkCGFoDMPLrFnCLeoIl3fGumxKIaOqbUro8IMqSRnDM+yP+mXokIVMLTB6ab9vMj36DRAV1oAdbgOJic4vNd5G5VI9GKcllijLdgVhu8emjhkL2TWDBIt9IC4PeUSxLb/2+21DIFWa8tE5kN4+dFsqqUJNFyF/6URI5lh2CtHo= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=LyIckBV1 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC2534BA7997 X-Sender-Id: dreamhost|x-authsender|pedro@palves.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 97FDA941469 for ; Thu, 23 Jul 2026 17:52:05 +0000 (UTC) Received: from pdx1-sub0-mail-a242.dreamhost.com (trex-green-5.trex.outbound.svc.cluster.local [100.105.0.101]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 4C0C4941FC4 for ; Thu, 23 Jul 2026 17:52:05 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|pedro@palves.net X-MC-Relay: Good X-MailChannels-SenderId: dreamhost|x-authsender|pedro@palves.net X-MailChannels-Auth-Id: dreamhost X-Turn-Shade: 5f42accb59458f76_1784829125542_916003435 X-MC-Loop-Signature: 1784829125542:4169158455 X-MC-Ingress-Time: 1784829125542 Received: from pdx1-sub0-mail-a242.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.105.0.101 (trex/8.0.2); Thu, 23 Jul 2026 17:52:05 +0000 Received: from localhost (bl20-181-64.dsl.telepac.pt [2.81.181.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pedro@palves.net) by pdx1-sub0-mail-a242.dreamhost.com (Postfix) with ESMTPSA id 4h5dx05chgz103w for ; Thu, 23 Jul 2026 10:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=palves.net; s=dreamhost; t=1784829125; bh=oMfpOonFeUX5PTqm6gylKcmBp+JfXlQZXN/LjVXnfyA=; h=From:To:Subject:Date:Content-Transfer-Encoding; b=LyIckBV1fOD1MBRaRDWrEKoVv4GMdDA3Axct0UV7JpOH9djDyVXZ7CucVnsXxpP5T rncSv0cRhUZ6a75eoplZ8iw4EI9OrOgnowPjspKuAajc20nP0vltW3s0Qq7tGohwaz bgVf7diXsx2v+nTwlZOw/6RTS4cr4I1hYUjpWEaHpYwH0a9fBDCbhSWRZ0xdCXbj0C JtpiMwdW3jFc7RzqPyGp750mRyaiLWlYzJ6rieWY5I3MqYhHm2ejrTa/gLGg/Jm1hk YCvZXiKX3fXXal1l/OlMyT64DD9G0X6/y2pQToDigaCgAyhwEBvz2+dLE+aWuSMyMp YTIkJvjKA58KA== From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 3/4] gdb/testsuite: Add extract-results make target Date: Thu, 23 Jul 2026 18:51:30 +0100 Message-ID: <20260723175131.266112-4-pedro@palves.net> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260723175131.266112-1-pedro@palves.net> References: <20260723175131.266112-1-pedro@palves.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Add a new "make extract-results" target that regenerates the combined gdb.sum/gdb.log from an existing outputs/ directory, without re-running any tests. This is handy after a parallel "make check" run to rebuild the combined results by hand -- for example after tweaking contrib/dg-extract-results.sh, to see the effect on the combined files without a full testsuite run. Change-Id: I67cac742343dd2c6091cf0013343af86cb86a1e7 --- gdb/testsuite/Makefile.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in index fb312583b0e..f671e90e125 100644 --- a/gdb/testsuite/Makefile.in +++ b/gdb/testsuite/Makefile.in @@ -276,6 +276,19 @@ check-parallel: fi; \ exit $$result +# Regenerate the combined gdb.sum / gdb.log from an existing outputs/ +# directory, without re-running any tests. Handy after a "make check" +# parallel run to rebuild the combined results by hand -- for example +# after tweaking contrib/dg-extract-results.sh. +extract-results: + @if test ! -d outputs; then \ + echo "No outputs/ directory found; run a parallel \"make check\" first."; \ + exit 1; \ + fi + $(call DG_EXTRACT_RESULTS,outputs,.) + $(SHELL) $(srcdir)/lib/dg-add-core-file-count.sh + sed -n '/=== gdb Summary ===/,$$ p' gdb.sum + check-parallel-racy: -rm -rf cache racy_outputs temp racyiter="$(RACY_ITER)"; \ -- 2.54.0