From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id fNvPK8ZUYmoMQSoAWB0awg (envelope-from ) for ; Thu, 23 Jul 2026 13:52:06 -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=tllSppWU; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id A30581E09E; Thu, 23 Jul 2026 13:52:06 -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 776A81E033 for ; Thu, 23 Jul 2026 13:52:05 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CDCDF4BA7988 for ; Thu, 23 Jul 2026 17:52:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CDCDF4BA7988 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=tllSppWU Received: from lightblue.cherry.relay.mailchannels.net (lightblue.cherry.relay.mailchannels.net [23.83.223.104]) by sourceware.org (Postfix) with ESMTPS id 2AFF44BA2E07 for ; Thu, 23 Jul 2026 17:51:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2AFF44BA2E07 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 2AFF44BA2E07 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=23.83.223.104 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784829099; cv=none; b=jLcn7FmiuyVe1wZJoOqA7/rWP8beYRBkSP6JxQn0BeL8RHfPjpdyVzij9WjEectPu2IJspWdICji/tNQYnUlvUD9TSro42LRhslBafAkCsc+Gm4duWo9Guew1moMfAo8bYhBvvkQjpDf36duCeuui4luooqnLg/o9QaveIPZbaI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784829099; c=relaxed/simple; bh=I3Vqf+GCYYhXnlTsm8k8UPnGD97ipnO1v04xSzMT1f8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=IKO4/Rx7T1VbY+iX2+ym3aZWYnhQ781/b8fixn6VuNE5IPtGZ/aK4CRhR3dOnj2gBRvZ9ibPpHsOa2gDAu/JNRYCynENnSJMRHVljcRdekOihInemVIiz4f6khhGBg3Ux/hhuIZIABxPRN4sdSSKyc7T7zKLauURVjnOKsD+U9A= 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=tllSppWU DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AFF44BA2E07 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 176DA4C04CF for ; Thu, 23 Jul 2026 17:51:38 +0000 (UTC) Received: from pdx1-sub0-mail-a242.dreamhost.com (100-104-242-227.trex-nlb.outbound.svc.cluster.local [100.104.242.227]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B6DF14C0D50 for ; Thu, 23 Jul 2026 17:51:37 +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-Whimsical-Minister: 560b3d756cf72800_1784829097966_3765672765 X-MC-Loop-Signature: 1784829097966:3160183158 X-MC-Ingress-Time: 1784829097966 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.104.242.227 (trex/8.0.2); Thu, 23 Jul 2026 17:51:37 +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 4h5dwT1WqLz103y for ; Thu, 23 Jul 2026 10:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=palves.net; s=dreamhost; t=1784829097; bh=tq2p211Ch30vVnkbR8KOlBUcVZog8Is9j6igzuHU3WM=; h=From:To:Subject:Date:Content-Transfer-Encoding; b=tllSppWURsrdocuyZ7X4O4x+aiIO51WpxYQHiHJ8Cp8M5amTP3vy8Poa0jqCzIdkz vfASc9P3vfkpIp6yoPX8R5aERF85TkTTHowfnEkF2EkBTzCA/876SV5xEJQtL7LyGj h7mnQlUQQuyA5GZLNXGolMedJzXfyrBTJDveUqr7JOx0rsvZwEVGbaGAECHvb3z9m2 Vl1KPQ1j2tFRv/qQFLlQi1IP1F6VjxUnpRLiu5aoApDvTh9dzPlAvKac0RL4kaRO18 wT92BRtdxlSHJC+H4WiqQ+ruuKgd6zrW3MPGV99dG/ZO628Mn+HkcaKR94Rn1w+viP Qel9+uEtPBXeQ== From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 0/4] Avoid command-line length limit combining test results Date: Thu, 23 Jul 2026 18:51:27 +0100 Message-ID: <20260723175131.266112-1-pedro@palves.net> X-Mailer: git-send-email 2.54.0 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 On Windows, "make check-parallel" dies when combining the per-test gdb.sum / gdb.log files into the final combined pair: $ find outputs/ -name gdb.sum | wc -l 2657 .../dg-extract-results.sh: line 39: /ucrt64/bin/python3: Argument list too long make: *** [Makefile:274: check-parallel] Error 2 The testsuite Makefile passes the whole file list to contrib/dg-extract-results.sh on the command line, expanded from a find(1) backtick. GDB's parallel harness writes one gdb.sum (and one gdb.log) per test script, so on a full run that list holds thousands of paths, which overflows the Windows command-line length limit (~32 KB). This series teaches dg-extract-results to read the file list from stdin (or a file) instead, and has the Makefile pipe the find output straight in, so the length limit no longer applies regardless of the host. The first patch touches contrib/dg-extract-results.{sh,py}, which are shared with GCC, so I plan to submit that one to GCC as well. The two middle patches (factoring out the combine recipe, and adding the extract-results target) are pure GDB and can go in at any time. Only the last patch depends on the new -f option added by the first patch. Pedro Alves (4): dg-extract-results.{sh,py}: Optionally read file list from stdin/file gdb/testsuite: Factor out dg-extract-results.sh calls gdb/testsuite: Add extract-results make target gdb/testsuite: Pipe the dg-extract-results file list via stdin contrib/dg-extract-results.py | 30 +++++++++++++++++++--- contrib/dg-extract-results.sh | 17 +++++++++++-- gdb/testsuite/Makefile.in | 47 ++++++++++++++++++++++++----------- 3 files changed, 74 insertions(+), 20 deletions(-) base-commit: 39fc0cc4aa6f82a73b9eac6b8739895484ab269f -- 2.54.0