aboutsummaryrefslogtreecommitdiffstats
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:43:37 +0100
commitd7bc697534db911a3ce98537d772d87482a0f702 (patch)
treeb5a54d31ddcfc7857a16d730200c58563925cab6 /meta/lib/oeqa/selftest/cases/liboe.py
parent08b0702492536d41d3cf2c9c05d1fab36d32a566 (diff)
downloadopenembedded-core-contrib-d7bc697534db911a3ce98537d772d87482a0f702.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. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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 @@
from oeqa.selftest.case import OESelftestTestCase
+from oeqa.core.decorator.oeid import OETestID
from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd
import oe.path
import os
@@ -10,6 +11,7 @@ class LibOE(OESelftestTestCase):
super(LibOE, cls).setUpClass()
cls.tmp_dir = get_bb_var('TMPDIR')
+ @OETestID(1635)
def test_copy_tree_special(self):
"""
Summary: oe.path.copytree() should copy files with special character
@@ -35,6 +37,7 @@ class LibOE(OESelftestTestCase):
oe.path.remove(testloc)
+ @OETestID(1636)
def test_copy_tree_xattr(self):
"""
Summary: oe.path.copytree() should preserve xattr on copied files
@@ -69,6 +72,7 @@ class LibOE(OESelftestTestCase):
oe.path.remove(testloc)
+ @OETestID(1634)
def test_copy_hardlink_tree_count(self):
"""
Summary: oe.path.copyhardlinktree() shouldn't miss out files