<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/ptest.bbclass, branch krogoth-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=krogoth-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=krogoth-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2015-11-24T15:50:26+00:00</updated>
<entry>
<title>classes: Ensure pass setVar/setVarFlag strings, not integers</title>
<updated>2015-11-24T15:50:26+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2015-11-10T09:52:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fecb07755ca6aec978cac19d5cb17fdc888b0057'/>
<id>urn:sha1:fecb07755ca6aec978cac19d5cb17fdc888b0057</id>
<content type='text'>
This doesn't cause any issues right now but it make sense to standardise
on consistently using strings in the data store.

(From OE-Core rev: 99203fbe5ad470ef65cff93cec9d7f332883b5ee)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest: run-ptest not required to run do_install_ptest</title>
<updated>2015-10-01T14:07:48+00:00</updated>
<author>
<name>Ian Ray</name>
<email>ian.ray@ge.com</email>
</author>
<published>2015-09-30T10:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e4a496102d22c2d3f2f181463bde16aac5f9b9a3'/>
<id>urn:sha1:e4a496102d22c2d3f2f181463bde16aac5f9b9a3</id>
<content type='text'>
Modify do_install_ptest_base to run do_install_ptest and install the
Makefile irrespective of the presence of ${WORKDIR}/run-ptest.  This
change allows "ptest-aware" packages to install run-ptest as part of
the make machinery.

(From OE-Core rev: 2055517d91e0c55ed108d3a6f52abd1d2c6824b2)

Signed-off-by: Ian Ray &lt;ian.ray@ge.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "ptest: use fakeroot for do_install_ptest_base"</title>
<updated>2015-09-12T21:48:46+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2015-09-10T10:22:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9cda8f782f27f48fba258bcd828d43e63f344b29'/>
<id>urn:sha1:9cda8f782f27f48fba258bcd828d43e63f344b29</id>
<content type='text'>
This reverts commit 56c5fa106eeccda2ca92dbeb73ff01ba40992e7d.

(This fix was incorrect and there is a better fix due to be merged)

(From OE-Core rev: 21e044d92e927639a574c43cf7778e31f2e66377)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest: fix file ownerships in ${PTEST_PATH}</title>
<updated>2015-09-12T21:48:34+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2015-09-08T23:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a2ec6d47207312b5a5750cd53f02c84cfa39045c'/>
<id>urn:sha1:a2ec6d47207312b5a5750cd53f02c84cfa39045c</id>
<content type='text'>
As most upstreams don't have installable test suites it's fairly common to copy
files directly out of a source tree for ptests, but this results in files in the
recipe being owned by the user running bitbake:

  WARNING: QA Issue: .../sed/4.2.2-r0/packages-split/sed-ptest/usr/lib64/
  sed/ptest/testsuite/bug-regex21 is owned by uid 1000, which is the same
  as the user running bitbake. This may be due to host contamination
  [host-user-contaminated]

Instead of needing to fix this in every recipe that has this problem simply
chown the files to root:root in do_install_ptest_base.

(From OE-Core rev: 552daf60c58784c8f1acc12c5a443a44a922f743)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest: use fakeroot for do_install_ptest_base</title>
<updated>2015-09-09T13:27:55+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2015-09-07T17:31:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dae69e6dcfa177844bb41a156b1bab091db3f1e7'/>
<id>urn:sha1:dae69e6dcfa177844bb41a156b1bab091db3f1e7</id>
<content type='text'>
The do_install_ptest_base task wasn't running in the fakeroot environment so
files installed by do_install_ptest were often not owned by root:root but the
user running the builds.

(From OE-Core rev: 56c5fa106eeccda2ca92dbeb73ff01ba40992e7d)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest: add dirs flag to ptest tasks</title>
<updated>2015-07-16T14:09:21+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2015-07-07T22:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c5c80d9edcaabd35be38938ad8d991c91cee48f8'/>
<id>urn:sha1:c5c80d9edcaabd35be38938ad8d991c91cee48f8</id>
<content type='text'>
The ptest configure/compile/install tasks mirror the base
configure/compile/install tasks, so add an explicit dirs flag to ensure they
mkdir() and chdir() the right directory.

(From OE-Core rev: 2b407176091c5a8697260c79f7559c933f38c317)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest: add recommends to ptest-runner</title>
<updated>2015-04-27T14:34:59+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2015-04-23T14:42:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=87de892d682d15ba2cbbee6bfd63a4644e0f517a'/>
<id>urn:sha1:87de892d682d15ba2cbbee6bfd63a4644e0f517a</id>
<content type='text'>
If you're installing ptest packages into an image there's a good chance
you want to run the tests.  Assist with this by recommending
ptest-runner in the -ptest packages.

(From OE-Core rev: a9eededcb33b2ee41a061298610126436dfc2c11)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest: Work from PTEST_ENABLED, not DISTRO_FEATURES</title>
<updated>2014-05-08T12:00:33+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-05-06T13:48:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a2e612c7763002c2fdc5f24cd015a8fd5b12b1e0'/>
<id>urn:sha1:a2e612c7763002c2fdc5f24cd015a8fd5b12b1e0</id>
<content type='text'>
Some classes of recipe disable ptest even though its in DISTRO_FEATURES
(e.g. nativesdk). We shouldn't attempt to build ptest packages when
its disabled. This replaces some DISTRO_FEATURE checks with PTEST_ENABLED
checks instead.

(From OE-Core rev: 8b14fcc62f31bbbb231790136cdb984db96d9ba9)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Globally replace 'base_contains' calls with 'bb.utils.contains'</title>
<updated>2014-04-25T16:19:19+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2014-04-24T18:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4c14b094985216c433d330fb3d9532d4b6c91fcf'/>
<id>urn:sha1:4c14b094985216c433d330fb3d9532d4b6c91fcf</id>
<content type='text'>
The base_contains is kept as a compatibility method and we ought to
not use it in OE-Core so we can remove it from base metadata in
future.

(From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest: Don't enable ptest for nativesdk and cross-canadian packages</title>
<updated>2014-03-11T15:11:40+00:00</updated>
<author>
<name>Tudor Florea</name>
<email>tudor.florea@enea.com</email>
</author>
<published>2014-03-10T11:51:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1db8eb47b8ffd44c4f25f2a2de63a95a2e476bf5'/>
<id>urn:sha1:1db8eb47b8ffd44c4f25f2a2de63a95a2e476bf5</id>
<content type='text'>
The ptest is useful in context of deployment to the target hence
we don't need ptest for nativesdk and cross-canadian packages

(From OE-Core rev: c0c96df9f6d571b6d1e26013822375942003e3b9)

Signed-off-by: Tudor Florea &lt;tudor.florea@enea.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
