summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/liboe.py
diff options
context:
space:
mode:
authorJose Perez Carranza <jose.perez.carranza@linux.intel.com>2017-06-15 05:49:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-23 11:44:12 +0100
commitab0780dfea9f0202ded3f2692633926aea35a5e6 (patch)
treede21c8e1e6e8e3444273a9a72fea1ad5fea19e1f /meta/lib/oeqa/selftest/cases/liboe.py
parentf822525c5830247e4ec8ea6be9aa36a97106cca8 (diff)
downloadpoky-ab0780dfea9f0202ded3f2692633926aea35a5e6.tar.gz
selftest: Add Testopia ID to test cases
Add decorator @OETestID() with proper Tesopia TC ID to the test cases that did not have it set. (From OE-Core rev: d7bc697534db911a3ce98537d772d87482a0f702) Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/liboe.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/liboe.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/liboe.py b/meta/lib/oeqa/selftest/cases/liboe.py
index 01b2cab7aa..e84609246a 100644
--- a/meta/lib/oeqa/selftest/cases/liboe.py
+++ b/meta/lib/oeqa/selftest/cases/liboe.py
@@ -1,4 +1,5 @@
1from oeqa.selftest.case import OESelftestTestCase 1from oeqa.selftest.case import OESelftestTestCase
2from oeqa.core.decorator.oeid import OETestID
2from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd 3from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd
3import oe.path 4import oe.path
4import os 5import os
@@ -10,6 +11,7 @@ class LibOE(OESelftestTestCase):
10 super(LibOE, cls).setUpClass() 11 super(LibOE, cls).setUpClass()
11 cls.tmp_dir = get_bb_var('TMPDIR') 12 cls.tmp_dir = get_bb_var('TMPDIR')
12 13
14 @OETestID(1635)
13 def test_copy_tree_special(self): 15 def test_copy_tree_special(self):
14 """ 16 """
15 Summary: oe.path.copytree() should copy files with special character 17 Summary: oe.path.copytree() should copy files with special character
@@ -35,6 +37,7 @@ class LibOE(OESelftestTestCase):
35 37
36 oe.path.remove(testloc) 38 oe.path.remove(testloc)
37 39
40 @OETestID(1636)
38 def test_copy_tree_xattr(self): 41 def test_copy_tree_xattr(self):
39 """ 42 """
40 Summary: oe.path.copytree() should preserve xattr on copied files 43 Summary: oe.path.copytree() should preserve xattr on copied files
@@ -69,6 +72,7 @@ class LibOE(OESelftestTestCase):
69 72
70 oe.path.remove(testloc) 73 oe.path.remove(testloc)
71 74
75 @OETestID(1634)
72 def test_copy_hardlink_tree_count(self): 76 def test_copy_hardlink_tree_count(self):
73 """ 77 """
74 Summary: oe.path.copyhardlinktree() shouldn't miss out files 78 Summary: oe.path.copyhardlinktree() shouldn't miss out files