]> code.ossystems Code Review - openembedded-core.git/commit
selftest/eSDK.py: Cleanup when there is an error in setUpClass
authorMariano Lopez <mariano.lopez@linux.intel.com>
Wed, 22 Feb 2017 13:12:55 +0000 (13:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2017 09:44:23 +0000 (10:44 +0100)
commit5dc68a378d9f4ec2c313ac395e91225a02e5b2c7
treef1c8607d5b26d9bf7a2bf86db96dc35fc4cceb47
parent7824ca273e7e4b25d4efe5461c0402833f535d06
selftest/eSDK.py: Cleanup when there is an error in setUpClass

Lately autobuilders are experiencing hangs with selftest,
it seems it is cause if an error happens in setUpClass
method of oeSDKExtSelfTest class because HTTP server
keeps running in background.

This patch will ensure tearDownClass will be run if there
is an error in setUpClass.

(From OE-Core rev: eb1383949f76c6eb36f86c051057f761a71016a3)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/eSDK.py