public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: testsuite: tweak parallel find invocation [PR sim/29596] Date: Sun, 23 Oct 2022 20:32:20 +0000 (GMT) [thread overview] Message-ID: <20221023203220.5D0A63857342@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=86ef36f655d13cd39ff573de079b35a142f8cf42 commit 86ef36f655d13cd39ff573de079b35a142f8cf42 Author: Mike Frysinger <vapier@gentoo.org> Date: Mon Oct 24 00:56:46 2022 +0545 sim: testsuite: tweak parallel find invocation [PR sim/29596] 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 Diff: --- sim/Makefile.in | 2 +- sim/testsuite/local.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sim/Makefile.in b/sim/Makefile.in index 7845a333fca..7e18bd161b4 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -2473,7 +2473,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; \ diff --git a/sim/testsuite/local.mk b/sim/testsuite/local.mk index c1799c728ae..e55f8c3c8b2 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; \
reply other threads:[~2022-10-23 20:32 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20221023203220.5D0A63857342@sourceware.org \ --to=vapier@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /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: linkBe 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).