aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-10-24 00:56:46 +0545
committerMike Frysinger <vapier@gentoo.org>2022-10-24 00:58:49 +0545
commit86ef36f655d13cd39ff573de079b35a142f8cf42 (patch)
treed4213fc894d7f02f6f5ab239327a7bd05ac54fdc /sim/testsuite
parentsim: mips/ppc/riscv: re-add AC_CANONICAL_SYSTEM [PR sim/29439] (diff)
downloadbinutils-gdb-86ef36f655d13cd39ff573de079b35a142f8cf42.tar.gz
binutils-gdb-86ef36f655d13cd39ff573de079b35a142f8cf42.tar.bz2
binutils-gdb-86ef36f655d13cd39ff573de079b35a142f8cf42.zip
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
Diffstat (limited to 'sim/testsuite')
-rw-r--r--sim/testsuite/local.mk2
1 files changed, 1 insertions, 1 deletions
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; \