<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/lib/oeqa/sdkext, branch 2.7_M2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=2.7_M2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=2.7_M2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2018-12-13T16:32:21+00:00</updated>
<entry>
<title>oeqa/sdk: show output if run() fails</title>
<updated>2018-12-13T16:32:21+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-12-11T23:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5e15b242a49ded354d23cff616365209d3f8588b'/>
<id>urn:sha1:5e15b242a49ded354d23cff616365209d3f8588b</id>
<content type='text'>
Use oeqa.utils.subprocesstweak to monkey-patch the subprocess exception so that
any output is shown, and remove any explicit try/catch handling that would have
hidden this.

(From OE-Core rev: 55964b33b561397287779ee474170790dfd03e85)

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>classes/testsdk: Split implementation into classes</title>
<updated>2018-11-21T11:54:14+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>jpewhacker@gmail.com</email>
</author>
<published>2018-11-19T18:11:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1554c7c3a69e1996c2d901feb22be37aa85c42a5'/>
<id>urn:sha1:1554c7c3a69e1996c2d901feb22be37aa85c42a5</id>
<content type='text'>
Splits the SDK test implementation into configurable Python classes. The
classes used for the normal and extensible SDKs are
${TESTSDK_CLASS_NAME} and ${TESTSDKEXT_CLASS_NAME} respectively.

This allows SDK machines to override the classes used to implement the
tests. For the traditional SDK, a common "run()" function is provided by
the class (oeqa.sdk.testsdk.TestSDK), with several hook member functions
that can be overridden in child classes, making it easier to have
consistent behavior. The extensible SDK class
(oeqa.sdkext.testsdk.TestSDKEXT) also has a common "run()" function, but
no hooks have yet been added as there is not currently a known use case
for create derived classes.

These changes should be purely organizational; no functional changes
have been made to either the standard SDK or extensible SDK tests.

[YOCTO #13020]

(From OE-Core rev: a06d53928b22d5f88276023c4d57b206db2f27f9)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oeqa/esdk/devtool: Drop OETestDepends usage</title>
<updated>2018-08-14T10:36:31+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-08-09T12:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b5970ab6511ad8ca3004315830d8fd6ed66bcd89'/>
<id>urn:sha1:b5970ab6511ad8ca3004315830d8fd6ed66bcd89</id>
<content type='text'>
OETestDepends doesn't work with parallelism and in this case we don't
really need this dependency, it would just short out some tests quickly
in the rare case the esdk environment was broken.

Currently this is masking tests which is a much worse problem and we
can't make OETestDepends work reliably with parallelism so drop the
dependencies.

(From OE-Core rev: b3b1e1881240b8e2a32dd5c1dc3b7387f0819576)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oeqa/sdkext/cases: Move sdk_update test into devtool module</title>
<updated>2017-06-02T12:36:14+00:00</updated>
<author>
<name>Aníbal Limón</name>
<email>anibal.limon@linux.intel.com</email>
</author>
<published>2017-05-26T20:37:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f9102ab1ede53c9c2e4b296566a58a398322d28c'/>
<id>urn:sha1:f9102ab1ede53c9c2e4b296566a58a398322d28c</id>
<content type='text'>
With the new OEQA thread support there are problems running
devtool twice at the same time because only one instance of
bitbake/devtool is allowed.

[YOCTO #11450]

(From OE-Core rev: 44254caaef131402629d01f01cdee6722718adba)

Signed-off-by: Aníbal Limón &lt;anibal.limon@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oeqa/sdkext/devtool: Ensure dependencies for test_extend_autotools_recipe_creation are present</title>
<updated>2017-03-03T11:16:12+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-03-03T10:57:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d3cdea0cc93a1dc2c9b5c6b110a99058bf69f101'/>
<id>urn:sha1:d3cdea0cc93a1dc2c9b5c6b110a99058bf69f101</id>
<content type='text'>
test_extend_autotools_recipe_creation needs libxml2 so ensure this is
installed/present as it may not be in the minimal eSDK case.

(From OE-Core rev: fb274c7fe588c556936a0df1ae583907875c2a76)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oeqa/sdkext: don't skip tests if there isn't a toolchain</title>
<updated>2017-03-01T23:27:11+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2017-03-01T12:13:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fffb6086db864f5c3761871d6289cc9f199b465d'/>
<id>urn:sha1:fffb6086db864f5c3761871d6289cc9f199b465d</id>
<content type='text'>
Skipping the tests if a toolchain wasn't installed out of the box (for example,
a minimal eSDK) doesn't make sense as the first thing the tests should do is
install a toolchain.

(From OE-Core rev: 1e776c1a7f4827f5a14c00dbffae0bdfb027e21e)

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>oeqa/sdkext/devtool: use finally instead of repeating cleanup</title>
<updated>2017-03-01T23:27:11+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2017-03-01T12:21:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=88c1fb2f0c52a05e7314b8790e6f72c66c4de5ef'/>
<id>urn:sha1:88c1fb2f0c52a05e7314b8790e6f72c66c4de5ef</id>
<content type='text'>
Use the finally: block to always to cleanup.

Now that the test harness in testsdk.bbclass has monkey-patched
CalledProcessException to display the output we don't need to do that in the
test case.

(From OE-Core rev: 9f0f6326083ee76b72b431fbfcbe12c1ab2793b2)

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>oeqa/esdk/devtool: clean setUpClass/tearDownClass</title>
<updated>2017-03-01T23:27:11+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2017-03-01T12:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=30ad3624176f8928bc6cf54d47b0e4d38c3c64e5'/>
<id>urn:sha1:30ad3624176f8928bc6cf54d47b0e4d38c3c64e5</id>
<content type='text'>
These methods are class not instance methods, so the argument should be cls not
self.

Also don't put variables into cls that we don't need there.

(From OE-Core rev: 6ecd671fb09486b5852c47f06b5db372a2eb082b)

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>oeqa/sdkext/context: Work around broken dependency checks to get sdk tests running</title>
<updated>2017-03-01T23:27:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-03-01T14:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6ed096e5ed3f751d84d421629bc199cb994c07f5'/>
<id>urn:sha1:6ed096e5ed3f751d84d421629bc199cb994c07f5</id>
<content type='text'>
This is admitted a bit of a hack but it does allow a number of significant sdk
tests to run successfully and hence improves testing of eSDK which is good.

I'm therefore proposing we do this until we come up with a better solution
since the current lack of testing is worrying and would have caught other issues
had it been present.

(From OE-Core rev: 633b95ea32bbccf59b341a9d37b0b11027b48a63)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oeqs/sdk*/case: Use universal_newlines for subprocess calls</title>
<updated>2017-03-01T23:27:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-03-01T11:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=23137a9897ab2a946d5ac78963616d63f539f43f'/>
<id>urn:sha1:23137a9897ab2a946d5ac78963616d63f539f43f</id>
<content type='text'>
This removes the need for some of the ugly decode calls with hardcoded
locales.

(From OE-Core rev: a14dddc77e553d2fa90d12576503dd3fc2e52bbc)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
