]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
m4: simplify path substitutions in ptest
authorAlexander Kanavin <alex@linutronix.de>
Fri, 6 Jun 2025 20:58:09 +0000 (22:58 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jun 2025 16:43:20 +0000 (17:43 +0100)
commit4df67f54cc4f98b63e465fba3dc41ac9813a033e
tree5520937cdece90c6c1a6fe874a1ba67194451a57
parent584b039fe688ba85fb19b48f2c7209452e248c00
m4: simplify path substitutions in ptest

There's no need to setup a fake 'source directory' and
redirect the tests to it; rather it's possible to point
them directly to ptest directory (this needs to be done
twice, in Makefile substitutions, and as a C define during
ptest compilation).

This also eliminates the assumption that S and B are in the
same directory (no longer true when S is in UNPACKDIR).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/m4/m4-1.4.20.inc
meta/recipes-devtools/m4/m4/run-ptest