]> code.ossystems Code Review - openembedded-core.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:18 +0000 (17:45 +0000)
commit1447afd62035f42344a32a487bec408e6563d5f6
tree563aa6a2aee6d1657d6ce29c8628897836c0313a
parentbc07d825ce8bb3b337623c232fef61f2781c82af
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>

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