diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/devtool.py')
-rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index e992dcf771..713f2c5d63 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
@@ -46,7 +46,10 @@ class DevtoolBase(oeSelfTest): | |||
46 | if needvalue is None: | 46 | if needvalue is None: |
47 | self.fail('Variable %s should not appear in recipe') | 47 | self.fail('Variable %s should not appear in recipe') |
48 | if isinstance(needvalue, set): | 48 | if isinstance(needvalue, set): |
49 | value = set(value.split()) | 49 | if var == 'LICENSE': |
50 | value = set(value.split(' & ')) | ||
51 | else: | ||
52 | value = set(value.split()) | ||
50 | self.assertEqual(value, needvalue, 'values for %s do not match' % var) | 53 | self.assertEqual(value, needvalue, 'values for %s do not match' % var) |
51 | 54 | ||
52 | 55 | ||