blob: 7c9d4a392bb7073232c8572bcd7de91b4028ad1d [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001from oeqa.runtime.case import OERuntimeTestCase
2from oeqa.core.decorator.depends import OETestDepends
3from oeqa.core.decorator.oeid import OETestID
4from oeqa.core.decorator.data import skipIfNotFeature
5
6from oeqa.runtime.utils.targetbuildproject import TargetBuildProject
7
8class GalculatorTest(OERuntimeTestCase):
9
10 @classmethod
11 def setUpClass(cls):
12 uri = 'http://galculator.mnim.org/downloads/galculator-2.1.4.tar.bz2'
13 cls.project = TargetBuildProject(cls.tc.target,
14 uri,
15 dl_dir = cls.tc.td['DL_DIR'])
16 cls.project.download_archive()
17
18 @classmethod
19 def tearDownClass(cls):
20 cls.project.clean()
21
22 @OETestID(1526)
23 @skipIfNotFeature('tools-sdk',
24 'Test requires tools-sdk to be in IMAGE_FEATURES')
25 @OETestDepends(['ssh.SSHTest.test_ssh'])
26 def test_galculator(self):
27 self.project.run_configure()
28 self.project.run_make()