public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Cc: research_trasio@irq.a4lg.com
Subject: [PATCH] sim: testsuite: tweak parallel find invocation [PR sim/29596]
Date: Mon, 24 Oct 2022 01:01:54 +0545	[thread overview]
Message-ID: <20221023191654.28740-1-vapier@gentoo.org> (raw)
In-Reply-To: <cover.1661565178.git.research_trasio@irq.a4lg.com>

Make sure we invoke runtest with the same exp filenames when running in
parallel as it will find when run single threaded.  When `runtest` finds
files itself, it will use paths like "aarch64/allinsn.exp".  When we run
`find .` with the %p option, it produces "./aarch64/allinsn.exp".  Switch
to %P to get "aarch64/allinsn.exp".

Bug: https://sourceware.org/PR29596
---
 sim/Makefile.in        | 2 +-
 sim/testsuite/local.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sim/testsuite/local.mk b/sim/testsuite/local.mk
index c1799c728ae7..e55f8c3c8b22 100644
--- a/sim/testsuite/local.mk
+++ b/sim/testsuite/local.mk
@@ -49,7 +49,7 @@ check/%.exp:
 check-DEJAGNU-parallel:
 	$(AM_V_at)( \
 	$(MAKE) -k \
-	  `cd $(srcdir)/testsuite && find . -name '*.exp' -printf 'check/%p '`; \
+	  `cd $(srcdir)/testsuite && find . -name '*.exp' -printf 'check/%P '`; \
 	ret=$$?; \
 	$(SHELL) $(srcroot)/contrib/dg-extract-results.sh \
 	  `find testsuite/ -maxdepth 4 -name testrun.sum | sort` > testrun.sum; \
-- 
2.37.3


  parent reply	other threads:[~2022-10-23 20:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <28df7073ec5a8f601ba47c9d2f7d4a7a0ce08753.1657795051.git.research_trasio@irq.a4lg.com>
2022-08-27  1:53 ` [RESEND PATCH 0/1] sim/testsuite: Trim extra path from arch Tsukasa OI
2022-08-27  1:53   ` [RESEND PATCH 1/1] " Tsukasa OI
2022-09-14 10:56   ` [PING^2 PATCH 0/1] " Tsukasa OI
2022-09-14 10:56     ` [PING^2 PATCH 1/1] " Tsukasa OI
2022-09-21 16:02     ` [PING^3 PATCH 0/1] sim/testsuite: Fix broken "make check-sim" by trimming excess " Tsukasa OI
2022-09-21 16:02       ` [PING^3 PATCH 1/1] sim/testsuite: Trim extra " Tsukasa OI
2022-10-09  3:55       ` [PING^4 PATCH 0/1] sim/testsuite: PR29596, Fix broken "make check-sim" by trimming excess " Tsukasa OI
2022-10-09  3:55         ` [PING^4 PATCH 1/1] sim/testsuite: PR29596, Trim extra " Tsukasa OI
2022-10-11 11:06         ` [PING^4 PATCH 0/1] sim/testsuite: PR29596, Fix broken "make check-sim" by trimming excess " Andrew Burgess
2022-10-12  5:39           ` Tsukasa OI
2022-10-16 13:01           ` Tsukasa OI
2022-10-23 19:16   ` [RESEND PATCH 0/1] sim/testsuite: Trim extra " Mike Frysinger
2022-10-24  6:31     ` Tsukasa OI
2022-10-24  7:33       ` Mike Frysinger
2022-10-23 19:16   ` Mike Frysinger [this message]
2022-10-23 19:44     ` [PATCH] sim: testsuite: update ignored .exp files [PR sim/29596] Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221023191654.28740-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    --cc=research_trasio@irq.a4lg.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).