Re: [OE-core] [PATCH 0/3] Feature to use symbolic links to binaries for ptest
Thanks for pointing that out! The busybox recipe provided me insight on how to implement this series in a cleaner way. I refactor the code and the v2 of the series can be found here: http://lists.openembedded.org/pipermail/openembedded-core/2019-April/280981.html Please do not integrate this series Thanks again Ross! On Fri, Apr 5, 2019 at 1:49 PM Mariano Lopez wrote: > Sure, can you integrate this in the while I work on the busybox one? I'll > do it as part of bug 12597 that is also assigned to me > > Mariano > > On Fri, Apr 5, 2019 at 9:37 AM Burton, Ross wrote: > >> Can you also port busybox to this instead of its own hand-coded logic? >> >> Ross >> >> On Fri, 5 Apr 2019 at 15:27, Mariano Lopez >> wrote: >> > >> > Some binaries are renamed by update-alternatives class at build time >> > and some ptest run against a binary belonging to another package. Take >> > for example busybox or util-linux. >> > >> > This series adds a directory within the ptest path with symlinks to the >> > binaries produced by the package, so just adding this directory to the >> > PATH will test the correct binaries. >> > >> > To use this feature just add PTEST_BINDIR = "1" to the recipe. >> > >> > This will help to solve bug 13238. >> > >> > [YOCTO #13238] >> > >> > The following changes since commit >> ffa5a1bda6741f5dc9f1b8db1bb37b0c6f103c99: >> > >> > asciidoc: specify XML catalogue to use (2019-04-03 14:56:27 +0100) >> > >> > are available in the Git repository at: >> > >> > git://github.com/justanotherboy/poky bug12597 >> > https://github.com/justanotherboy/poky/tree/bug12597 >> > >> > Mariano Lopez (3): >> > update-alternatives.bbclass: Add function to get renamed binaries >> > ptest.bbclass: Add feature to populate a binary directory >> > util-linux: Use PTEST binary directory >> > >> > >> > -- >> > 2.19.2 >> > >> > -- >> > ___ >> > Openembedded-core mailing list >> > Openembedded-core@lists.openembedded.org >> > http://lists.openembedded.org/mailman/listinfo/openembedded-core >> > -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/3] Feature to use symbolic links to binaries for ptest
Sure, can you integrate this in the while I work on the busybox one? I'll do it as part of bug 12597 that is also assigned to me Mariano On Fri, Apr 5, 2019 at 9:37 AM Burton, Ross wrote: > Can you also port busybox to this instead of its own hand-coded logic? > > Ross > > On Fri, 5 Apr 2019 at 15:27, Mariano Lopez > wrote: > > > > Some binaries are renamed by update-alternatives class at build time > > and some ptest run against a binary belonging to another package. Take > > for example busybox or util-linux. > > > > This series adds a directory within the ptest path with symlinks to the > > binaries produced by the package, so just adding this directory to the > > PATH will test the correct binaries. > > > > To use this feature just add PTEST_BINDIR = "1" to the recipe. > > > > This will help to solve bug 13238. > > > > [YOCTO #13238] > > > > The following changes since commit > ffa5a1bda6741f5dc9f1b8db1bb37b0c6f103c99: > > > > asciidoc: specify XML catalogue to use (2019-04-03 14:56:27 +0100) > > > > are available in the Git repository at: > > > > git://github.com/justanotherboy/poky bug12597 > > https://github.com/justanotherboy/poky/tree/bug12597 > > > > Mariano Lopez (3): > > update-alternatives.bbclass: Add function to get renamed binaries > > ptest.bbclass: Add feature to populate a binary directory > > util-linux: Use PTEST binary directory > > > > > > -- > > 2.19.2 > > > > -- > > ___ > > Openembedded-core mailing list > > Openembedded-core@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/3] Feature to use symbolic links to binaries for ptest
Can you also port busybox to this instead of its own hand-coded logic? Ross On Fri, 5 Apr 2019 at 15:27, Mariano Lopez wrote: > > Some binaries are renamed by update-alternatives class at build time > and some ptest run against a binary belonging to another package. Take > for example busybox or util-linux. > > This series adds a directory within the ptest path with symlinks to the > binaries produced by the package, so just adding this directory to the > PATH will test the correct binaries. > > To use this feature just add PTEST_BINDIR = "1" to the recipe. > > This will help to solve bug 13238. > > [YOCTO #13238] > > The following changes since commit ffa5a1bda6741f5dc9f1b8db1bb37b0c6f103c99: > > asciidoc: specify XML catalogue to use (2019-04-03 14:56:27 +0100) > > are available in the Git repository at: > > git://github.com/justanotherboy/poky bug12597 > https://github.com/justanotherboy/poky/tree/bug12597 > > Mariano Lopez (3): > update-alternatives.bbclass: Add function to get renamed binaries > ptest.bbclass: Add feature to populate a binary directory > util-linux: Use PTEST binary directory > > > -- > 2.19.2 > > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core