]> 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>
Thu, 23 Feb 2017 20:29:20 +0000 (12:29 -0800)
commiteb1383949f76c6eb36f86c051057f761a71016a3
treeb1af56caf2919f81a1581e229792d3bd97a3f23e
parent0148bb131b2ac68f168562e9eaedce8aa4e4a875
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.

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