<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6615</bug_id>
          
          <creation_ts>2014-08-07 12:04:46 +0000</creation_ts>
          <short_desc>Make it possible to generate a ptest package for only one package or several of them</short_desc>
          <delta_ts>2015-02-19 16:02:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Papp">lpapp</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>jefro</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44996</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2014-08-07 12:04:46 +0000</bug_when>
    <thetext>It looks like the current operation is &quot;catch-all&quot; or &quot;catch-nothing&quot;.

This is sub-optimal because if I only wish to test a small util in my &quot;meta-foo&quot; layer, I would not like to wait for every other ptest packages to be built. It is waste of time, resource and potentially money.

Currently, I am planning to wait for this feature to be available before adopting.

I understand and appreciate that the workaround is to remove the &quot;ptest&quot; from everywhere else, but that would be too intrusive compared to the gain of &quot;ptest&quot; as of now. I can just build my own &quot;foo-test&quot; for the time being, install it and then run my test script or binary on the target. That looks like a more pleasant way of achieving my goal.

Having said, I would give a try to ptest in the future, once this report is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48937</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-02-19 16:02:40 +0000</bug_when>
    <thetext>Enabling ptest globally doesn&apos;t imply installing all of the ptest packages, but if you want to avoid the overhead of building the ptest support for all but a few packages then you can selectively enable it per-recipe.

For example assuming DISTRO_FEATURES doesn&apos;t contain ptest, then you can add it to specific recipes (eg glib-2.0) with DISTRO_FEATURES_append_pn-glib-2.0 = &quot; ptest&quot; in your configuration (local.conf, etc).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>