]> code.ossystems Code Review - openembedded-core.git/commitdiff
selftest: Added testcase decorators for 2 tests
authorDaniel Istrate <daniel.alexandrux.istrate@intel.com>
Tue, 5 Jan 2016 09:42:13 +0000 (11:42 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Jan 2016 13:40:04 +0000 (13:40 +0000)
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>
meta/lib/oeqa/selftest/devtool.py
meta/lib/oeqa/selftest/recipetool.py

index 1eadd6b371a5e09510bf2e4e7530427ec6b4a690..f6471bdc4845c189b1e9ba866148cc211b1f2e27 100644 (file)
@@ -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')
index 00f415b2c6358a885889b83f217a6effcf4a467b..6a7ef9d9610eaf6046b50ffdbd2a5c0ccb112c00 100644 (file)
@@ -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')