]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
ptest-runner: pass libdir to DEFAULT_DIRECTORY when compiling
authorLi Zhou <li.zhou@windriver.com>
Tue, 22 Jan 2019 09:00:27 +0000 (17:00 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Jan 2019 17:45:25 +0000 (17:45 +0000)
commita5c4807022c044f34e5a570ccfb2624779784632
tree8f359055c1cfae715d034eba4a2462c82b7258ed
parent9a9124e50c449c324a6b070873579640b7d216d6
ptest-runner: pass libdir to DEFAULT_DIRECTORY when compiling

Ptest data are installed to PTEST_PATH ?= "${libdir}/${BPN}/ptest".
When libdir isn't "/usr/lib", it will cause "No ptests found" error
when running "ptest-runner" command. Here pass libdir to
DEFAULT_DIRECTORY when compiling to avoid that error.

Need update ptest-runner source code to get the new commit:
<ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling>

(From OE-Core rev: 1447afd62035f42344a32a487bec408e6563d5f6)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/ptest-runner/ptest-runner_2.3.bb