diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/core/decorator/data.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/core/decorator/data.py b/meta/lib/oeqa/core/decorator/data.py index bc4939e87c..12197be246 100644 --- a/meta/lib/oeqa/core/decorator/data.py +++ b/meta/lib/oeqa/core/decorator/data.py | |||
@@ -13,8 +13,8 @@ def has_feature(td, feature): | |||
13 | Checks for feature in DISTRO_FEATURES or IMAGE_FEATURES. | 13 | Checks for feature in DISTRO_FEATURES or IMAGE_FEATURES. |
14 | """ | 14 | """ |
15 | 15 | ||
16 | if (feature in td.get('DISTRO_FEATURES', '') or | 16 | if (feature in td.get('DISTRO_FEATURES', '').split() or |
17 | feature in td.get('IMAGE_FEATURES', '')): | 17 | feature in td.get('IMAGE_FEATURES', '').split()): |
18 | return True | 18 | return True |
19 | return False | 19 | return False |
20 | 20 | ||
@@ -23,7 +23,7 @@ def has_machine(td, machine): | |||
23 | Checks for MACHINE. | 23 | Checks for MACHINE. |
24 | """ | 24 | """ |
25 | 25 | ||
26 | if (machine in td.get('MACHINE', '')): | 26 | if (machine == td.get('MACHINE', '')): |
27 | return True | 27 | return True |
28 | return False | 28 | return False |
29 | 29 | ||