diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/buildcvs.py')
-rw-r--r-- | meta/lib/oeqa/runtime/buildcvs.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/lib/oeqa/runtime/buildcvs.py b/meta/lib/oeqa/runtime/buildcvs.py deleted file mode 100644 index a5ca3a5b37..0000000000 --- a/meta/lib/oeqa/runtime/buildcvs.py +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | from oeqa.oetest import oeRuntimeTest, skipModule | ||
2 | from oeqa.utils.decorators import * | ||
3 | from oeqa.runtime.utils.targetbuildproject import TargetBuildProject | ||
4 | |||
5 | def setUpModule(): | ||
6 | if not oeRuntimeTest.hasFeature("tools-sdk"): | ||
7 | skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES") | ||
8 | |||
9 | class BuildCvsTest(oeRuntimeTest): | ||
10 | |||
11 | @classmethod | ||
12 | def setUpClass(self): | ||
13 | dl_dir = oeRuntimeTest.tc.d.getVar('DL_DIR', True) | ||
14 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, | ||
15 | "http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2", | ||
16 | dl_dir=dl_dir) | ||
17 | |||
18 | @testcase(205) | ||
19 | @skipUnlessPassed("test_ssh") | ||
20 | def test_cvs(self): | ||
21 | self.assertEqual(self.project.run_configure(), 0, | ||
22 | msg="Running configure failed") | ||
23 | |||
24 | self.assertEqual(self.project.run_make(), 0, | ||
25 | msg="Running make failed") | ||
26 | |||
27 | self.assertEqual(self.project.run_install(), 0, | ||
28 | msg="Running make install failed") | ||
29 | |||
30 | @classmethod | ||
31 | def tearDownClass(self): | ||
32 | self.project.clean() | ||