Add runtime test for locales packages to test that is it
installed or not.
Signed-off-by: Pravin Patil <[email protected]>
---
meta/lib/oeqa/runtime/cases/locales.py | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100755 meta/lib/oeqa/runtime/cases/locales.py
diff --git a/meta/lib/oeqa/runtime/cases/locales.py
b/meta/lib/oeqa/runtime/cases/locales.py
new file mode 100755
index 0000000..251bd04
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/locales.py
@@ -0,0 +1,11 @@
+import os
+
+from oeqa.runtime.case import OERuntimeTestCase
+from oeqa.core.decorator.depends import OETestDepends
+from oeqa.runtime.decorator.package import OEHasPackage
+
+class LocaleTest(OERuntimeTestCase):
+ def test_locale(self):
+ cmd = "locale -a | grep -w 'fr_FR'"
+ (status,output) = self.target.run(cmd)
+ self.assertEqual(status, 0, output)
--
2.7.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core