From d27ca36e2a3d3ba60870aa73f17a6e22737b0c13 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Mon, 11 Apr 2016 06:55:35 +0000 Subject: oeqa/runexported.py: Fix exported test With the changes introduced to test the eSDK the runexported test failed during the execution. This change fix runexported test in the least invasive way, because of the release cycle. (From OE-Core rev: da0abb9679cb1fd639859a2fdbd82101d0a81259) Signed-off-by: Mariano Lopez Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/commands.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta/lib/oeqa/utils/commands.py') diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index 32e001c6b5..48f6441290 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py @@ -18,7 +18,11 @@ from oeqa.utils import CommandError from oeqa.utils import ftools import re import contextlib -import bb +# Export test doesn't require bb +try: + import bb +except ImportError: + pass class Command(object): def __init__(self, command, bg=False, timeout=None, data=None, **options): -- cgit v1.2.3-54-g00ecf