All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Feature to use symbolic links to binaries for ptest
@ 2019-04-05 14:26 Mariano Lopez
  2019-04-05 14:37 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Mariano Lopez @ 2019-04-05 14:26 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/3] Feature to use symbolic links to binaries for ptest
  2019-04-05 14:26 [PATCH 0/3] Feature to use symbolic links to binaries for ptest Mariano Lopez
@ 2019-04-05 14:37 ` Burton, Ross
  2019-04-05 18:49   ` Mariano Lopez
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2019-04-05 14:37 UTC (permalink / raw)
  To: Mariano Lopez; +Cc: OE-core

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
<just.another.mariano@gmail.com> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/3] Feature to use symbolic links to binaries for ptest
  2019-04-05 14:37 ` Burton, Ross
@ 2019-04-05 18:49   ` Mariano Lopez
  2019-04-07 17:22     ` Mariano Lopez
  0 siblings, 1 reply; 4+ messages in thread
From: Mariano Lopez @ 2019-04-05 18:49 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

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 <ross.burton@intel.com> 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
> <just.another.mariano@gmail.com> 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
>

[-- Attachment #2: Type: text/html, Size: 2729 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/3] Feature to use symbolic links to binaries for ptest
  2019-04-05 18:49   ` Mariano Lopez
@ 2019-04-07 17:22     ` Mariano Lopez
  0 siblings, 0 replies; 4+ messages in thread
From: Mariano Lopez @ 2019-04-07 17:22 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 2218 bytes --]

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 <just.another.mariano@gmail.com>
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 <ross.burton@intel.com> 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
>> <just.another.mariano@gmail.com> 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
>>
>

[-- Attachment #2: Type: text/html, Size: 3630 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-07 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-05 14:26 [PATCH 0/3] Feature to use symbolic links to binaries for ptest Mariano Lopez
2019-04-05 14:37 ` Burton, Ross
2019-04-05 18:49   ` Mariano Lopez
2019-04-07 17:22     ` Mariano Lopez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.