summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Istrate <daniel.alexandrux.istrate@intel.com>2016-01-05 11:42:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-07 13:40:16 +0000
commit8e1435eb717b22f15e898bee15f9c75128deae03 (patch)
treed062e8d80bf0e5ee96ecf66e8cba467f73962dd4
parent32f332c9d4bf419ef3d2c9289cf3501f94eb168e (diff)
downloadpoky-8e1435eb717b22f15e898bee15f9c75128deae03.tar.gz
selftest: Added testcase decorators for 2 tests
1391 for test_devtool_add_fetch_simple from devtool 1392 for test_recipetool_create_simple from recipetool (From OE-Core rev: d6ee070127a08be98958bbb8b11c80bb64165dc7) Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/devtool.py1
-rw-r--r--meta/lib/oeqa/selftest/recipetool.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index 1eadd6b371..f6471bdc48 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -333,6 +333,7 @@ class DevtoolTests(DevtoolBase):
333 checkvars['SRCREV'] = checkrev 333 checkvars['SRCREV'] = checkrev
334 self._test_recipe_contents(recipefile, checkvars, []) 334 self._test_recipe_contents(recipefile, checkvars, [])
335 335
336 @testcase(1391)
336 def test_devtool_add_fetch_simple(self): 337 def test_devtool_add_fetch_simple(self):
337 # Fetch source from a remote URL, auto-detecting name 338 # Fetch source from a remote URL, auto-detecting name
338 tempdir = tempfile.mkdtemp(prefix='devtoolqa') 339 tempdir = tempfile.mkdtemp(prefix='devtoolqa')
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py
index 00f415b2c6..6a7ef9d961 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -401,6 +401,7 @@ class RecipetoolTests(RecipetoolBase):
401 inherits = ['autotools', 'pkgconfig'] 401 inherits = ['autotools', 'pkgconfig']
402 self._test_recipe_contents(recipefile, checkvars, inherits) 402 self._test_recipe_contents(recipefile, checkvars, inherits)
403 403
404 @testcase(1392)
404 def test_recipetool_create_simple(self): 405 def test_recipetool_create_simple(self):
405 # Try adding a recipe 406 # Try adding a recipe
406 temprecipe = os.path.join(self.tempdir, 'recipe') 407 temprecipe = os.path.join(self.tempdir, 'recipe')