diff options
author | Jose Perez Carranza <jose.perez.carranza@linux.intel.com> | 2017-06-15 05:49:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:44:12 +0100 |
commit | ab0780dfea9f0202ded3f2692633926aea35a5e6 (patch) | |
tree | de21c8e1e6e8e3444273a9a72fea1ad5fea19e1f /meta/lib/oeqa/selftest/cases/recipetool.py | |
parent | f822525c5830247e4ec8ea6be9aa36a97106cca8 (diff) | |
download | poky-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/recipetool.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/recipetool.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index 46f0a7206b..bdd405f1cc 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py | |||
@@ -443,6 +443,7 @@ class RecipetoolTests(RecipetoolBase): | |||
443 | inherits = ['cmake', 'python-dir', 'gettext', 'pkgconfig'] | 443 | inherits = ['cmake', 'python-dir', 'gettext', 'pkgconfig'] |
444 | self._test_recipe_contents(recipefile, checkvars, inherits) | 444 | self._test_recipe_contents(recipefile, checkvars, inherits) |
445 | 445 | ||
446 | @OETestID(1638) | ||
446 | def test_recipetool_create_github(self): | 447 | def test_recipetool_create_github(self): |
447 | # Basic test to see if github URL mangling works | 448 | # Basic test to see if github URL mangling works |
448 | temprecipe = os.path.join(self.tempdir, 'recipe') | 449 | temprecipe = os.path.join(self.tempdir, 'recipe') |
@@ -457,6 +458,7 @@ class RecipetoolTests(RecipetoolBase): | |||
457 | inherits = ['setuptools'] | 458 | inherits = ['setuptools'] |
458 | self._test_recipe_contents(recipefile, checkvars, inherits) | 459 | self._test_recipe_contents(recipefile, checkvars, inherits) |
459 | 460 | ||
461 | @OETestID(1639) | ||
460 | def test_recipetool_create_github_tarball(self): | 462 | def test_recipetool_create_github_tarball(self): |
461 | # Basic test to ensure github URL mangling doesn't apply to release tarballs | 463 | # Basic test to ensure github URL mangling doesn't apply to release tarballs |
462 | temprecipe = os.path.join(self.tempdir, 'recipe') | 464 | temprecipe = os.path.join(self.tempdir, 'recipe') |
@@ -472,6 +474,7 @@ class RecipetoolTests(RecipetoolBase): | |||
472 | inherits = ['setuptools'] | 474 | inherits = ['setuptools'] |
473 | self._test_recipe_contents(recipefile, checkvars, inherits) | 475 | self._test_recipe_contents(recipefile, checkvars, inherits) |
474 | 476 | ||
477 | @OETestID(1637) | ||
475 | def test_recipetool_create_git_http(self): | 478 | def test_recipetool_create_git_http(self): |
476 | # Basic test to check http git URL mangling works | 479 | # Basic test to check http git URL mangling works |
477 | temprecipe = os.path.join(self.tempdir, 'recipe') | 480 | temprecipe = os.path.join(self.tempdir, 'recipe') |
@@ -499,6 +502,7 @@ class RecipetoolTests(RecipetoolBase): | |||
499 | shutil.copy(srcfile, dstfile) | 502 | shutil.copy(srcfile, dstfile) |
500 | self.track_for_cleanup(dstfile) | 503 | self.track_for_cleanup(dstfile) |
501 | 504 | ||
505 | @OETestID(1640) | ||
502 | def test_recipetool_load_plugin(self): | 506 | def test_recipetool_load_plugin(self): |
503 | """Test that recipetool loads only the first found plugin in BBPATH.""" | 507 | """Test that recipetool loads only the first found plugin in BBPATH.""" |
504 | 508 | ||