Skip to contentSkip to conversation

ptest - single package

DISCUSSION Dave Cobbley 2 participants 3 messages Oct 31, 2017

lore
Share & tools
lore
#0 lore raw

Hey,

I am trying to add a single ptest to my image without adding all ptests from all other packages in my distro.

https://wiki.yoctoproject.org/wiki/Ptest only has instructions to add ptest-pkgs, but this is too large for my embedded platform.

How can I install ptest-runner plus the single ptest from a specific recipe?

Thanks,

-Dave

#1 lore raw
Quoted 11 lines · Dave Cobbley

Hey,

I am trying to add a single ptest to my image without adding all ptests from all other packages in my distro.

https://wiki.yoctoproject.org/wiki/Ptest only has instructions to add ptest-pkgs, but this is too large for my embedded platform.

How can I install ptest-runner plus the single ptest from a specific recipe?

The ptest packages are normal packages, so just add [package]-ptest to the image. The ptest packages recommend ptest-runner automatically, so you don't need to pull that in.

Ross

#2 lore raw

Ross,

That works great.

Thanks,

-Dave

Quoted 18 lines · Ross

On 31 October 2017 at 21:51, Dave Cobbley <[email protected] <mailto:[email protected]>> wrote:

Hey,

I am trying to add a single ptest to my image without adding all ptests from all other packages in my distro.

https://wiki.yoctoproject.org/wiki/Ptest
<https://wiki.yoctoproject.org/wiki/Ptest> only has instructions to add ptest-pkgs, but this is too large for my embedded platform.

How can I install ptest-runner plus the single ptest from a specific recipe?

The ptest packages are normal packages, so just add [package]-ptest to the image.  The ptest packages recommend ptest-runner automatically, so you don't need to pull that in.

Ross