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:04 +0000
commitd6ee070127a08be98958bbb8b11c80bb64165dc7 (patch)
tree43dfb892068a6a21fe022a12965a5010d4295876
parent8b9ea3ee39bceef7ee6faeef64f33bd9dbad2e4b (diff)
downloadopenembedded-core-contrib-d6ee070127a08be98958bbb8b11c80bb64165dc7.tar.gz
openembedded-core-contrib-d6ee070127a08be98958bbb8b11c80bb64165dc7.tar.bz2
openembedded-core-contrib-d6ee070127a08be98958bbb8b11c80bb64165dc7.zip
selftest: Added testcase decorators for 2 tests
1391 for test_devtool_add_fetch_simple from devtool 1392 for test_recipetool_create_simple from recipetool Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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):
checkvars['SRCREV'] = checkrev
self._test_recipe_contents(recipefile, checkvars, [])
+ @testcase(1391)
def test_devtool_add_fetch_simple(self):
# Fetch source from a remote URL, auto-detecting name
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):
inherits = ['autotools', 'pkgconfig']
self._test_recipe_contents(recipefile, checkvars, inherits)
+ @testcase(1392)
def test_recipetool_create_simple(self):
# Try adding a recipe
temprecipe = os.path.join(self.tempdir, 'recipe')