sim: testsuite: tweak parallel find invocation [PR sim/29596]
authorMike Frysinger <vapier@gentoo.org>
Sun, 23 Oct 2022 19:11:46 +0000 (00:56 +0545)
committerMike Frysinger <vapier@gentoo.org>
Sun, 23 Oct 2022 19:13:49 +0000 (00:58 +0545)
commit86ef36f655d13cd39ff573de079b35a142f8cf42
treed4213fc894d7f02f6f5ab239327a7bd05ac54fdc
parent89d5fc244fd6bbbb59c6d1b04eb2f048059b3dad
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
sim/Makefile.in
sim/testsuite/local.mk