diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2016-11-01 07:48:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:03:57 +0000 |
commit | b39c61f2d442c79d03b73e8ffd104996fcb2177e (patch) | |
tree | db476e1a099b5cb6d45d80f3b25a2b205e583958 /meta/lib/oeqa/runtime_cases/buildcvs.py | |
parent | 2aa5a4954d7610f31875ba7e655f25f8892517b6 (diff) | |
download | openembedded-core-b39c61f2d442c79d03b73e8ffd104996fcb2177e.tar.gz openembedded-core-b39c61f2d442c79d03b73e8ffd104996fcb2177e.tar.bz2 openembedded-core-b39c61f2d442c79d03b73e8ffd104996fcb2177e.zip |
oeqa/runtime/cases: Migrate runtime tests.
This migrates current runtime test suite to be used with the new framework.
[YOCTO #10234]
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa/runtime_cases/buildcvs.py')
-rw-r--r-- | meta/lib/oeqa/runtime_cases/buildcvs.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/lib/oeqa/runtime_cases/buildcvs.py b/meta/lib/oeqa/runtime_cases/buildcvs.py deleted file mode 100644 index a5ca3a5b37..0000000000 --- a/meta/lib/oeqa/runtime_cases/buildcvs.py +++ /dev/null @@ -1,32 +0,0 @@ -from oeqa.oetest import oeRuntimeTest, skipModule -from oeqa.utils.decorators import * -from oeqa.runtime.utils.targetbuildproject import TargetBuildProject - -def setUpModule(): - if not oeRuntimeTest.hasFeature("tools-sdk"): - skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES") - -class BuildCvsTest(oeRuntimeTest): - - @classmethod - def setUpClass(self): - dl_dir = oeRuntimeTest.tc.d.getVar('DL_DIR', True) - self.project = TargetBuildProject(oeRuntimeTest.tc.target, - "http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2", - dl_dir=dl_dir) - - @testcase(205) - @skipUnlessPassed("test_ssh") - def test_cvs(self): - self.assertEqual(self.project.run_configure(), 0, - msg="Running configure failed") - - self.assertEqual(self.project.run_make(), 0, - msg="Running make failed") - - self.assertEqual(self.project.run_install(), 0, - msg="Running make install failed") - - @classmethod - def tearDownClass(self): - self.project.clean() |