Signed-off-by: Vyacheslav Yurkov <uvv.m...@gmail.com> --- meta/lib/oeqa/selftest/cases/recipetool.py | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index df15c80069..356bb4a746 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py @@ -744,19 +744,6 @@ class RecipetoolCreateTests(RecipetoolBase): def test_recipetool_create_git_srcbranch(self): self._test_recipetool_create_git('git://git.yoctoproject.org/matchbox-keyboard;protocol=https', 'matchbox-keyboard-0-1') - -class RecipetoolTests(RecipetoolBase): - - @classmethod - def setUpClass(cls): - import sys - - super(RecipetoolTests, cls).setUpClass() - bb_vars = get_bb_vars(['BBPATH']) - cls.bbpath = bb_vars['BBPATH'] - libpath = os.path.join(get_bb_var('COREBASE'), 'scripts', 'lib', 'recipetool') - sys.path.insert(0, libpath) - def test_recipetool_create_go(self): # Basic test to check go recipe generation def urifiy(url, version, modulepath = None, pathmajor = None, subdir = None): @@ -941,6 +928,17 @@ class RecipetoolTests(RecipetoolBase): self._test_recipe_contents(deps_require_file, checkvars, []) +class RecipetoolTests(RecipetoolBase): + + @classmethod + def setUpClass(cls): + import sys + + super(RecipetoolTests, cls).setUpClass() + bb_vars = get_bb_vars(['BBPATH']) + cls.bbpath = bb_vars['BBPATH'] + libpath = os.path.join(get_bb_var('COREBASE'), 'scripts', 'lib', 'recipetool') + sys.path.insert(0, libpath) def _copy_file_with_cleanup(self, srcfile, basedstdir, *paths): dstdir = basedstdir -- 2.35.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193830): https://lists.openembedded.org/g/openembedded-core/message/193830 Mute This Topic: https://lists.openembedded.org/mt/103758370/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-