test-utils: handle import bb failing and skip the test
authorRoss Burton <ross.burton@intel.com>
Thu, 23 May 2013 11:34:04 +0000 (12:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Jun 2013 15:48:24 +0000 (16:48 +0100)
commitb4dfdee6591c4dbe11f3207566c58c8b33f99ef3
tree7c3edc047a02f81e9d631324aef4a34d2dee16f6
parent2c7911fa7c2c7939fc67e5d5380fdb980845d5ff
test-utils: handle import bb failing and skip the test

Instead of reporting an error when bb cannot be imported, skip the test
instead. This makes it a lot easier to iterate a test suite when we don't care
about this particular test.

(From OE-Core rev: c4a5bd810ca92d57c334113c528bd1d233b3eac4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/tests/test_utils.py