Pushed, thx!, http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=e1062f776eea60c50435c6b8ddf9714a31141aee
Feel free to update the recipe. Cheers, Anibal On Sun, 20 Jan 2019 at 20:29, Li Zhou <li.z...@windriver.com> wrote: > In yocto project ptest data are installed to > PTEST_PATH ?= "${libdir}/${BPN}/ptest". Here make DEFAULT_DIRECTORY > be able to be defined outside of c code (e.g. passed in by CFLAGS), > in case libdir isn't "/usr/lib", which will cause "No ptests found" > error when running "ptest-runner" command. We will pass libdir to > DEFAULT_DIRECTORY when compiling to avoid that error. > > Signed-off-by: Li Zhou <li.z...@windriver.com> > --- > main.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/main.c b/main.c > index 83600b7..e963efe 100644 > --- a/main.c > +++ b/main.c > @@ -37,7 +37,9 @@ > > #include "utils.h" > > +#ifndef DEFAULT_DIRECTORY > #define DEFAULT_DIRECTORY "/usr/lib" > +#endif > #define DEFAULT_TIMEOUT 300 > > static inline void > -- > 1.9.1 > >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto