mirror of
https://git.yoctoproject.org/poky
synced 2026-03-25 19:02:23 +01:00
Update test case numbers on runtime tests to do match with templates defined on Testopia for 2.3 release (From OE-Core rev: d9df762b4c62b74f6d3a1521642ea86c26793a22) 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>
25 lines
914 B
Python
25 lines
914 B
Python
from oeqa.oetest import oeRuntimeTest, skipModule
|
|
from oeqa.utils.decorators import *
|
|
from oeqa.utils.targetbuild import TargetBuildProject
|
|
|
|
def setUpModule():
|
|
if not oeRuntimeTest.hasFeature("tools-sdk"):
|
|
skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
|
|
|
|
class GalculatorTest(oeRuntimeTest):
|
|
@testcase(1526)
|
|
@skipUnlessPassed("test_ssh")
|
|
def test_galculator(self):
|
|
try:
|
|
project = TargetBuildProject(oeRuntimeTest.tc.target, oeRuntimeTest.tc.d,
|
|
"http://galculator.mnim.org/downloads/galculator-2.1.4.tar.bz2")
|
|
project.download_archive()
|
|
|
|
self.assertEqual(project.run_configure(), 0,
|
|
msg="Running configure failed")
|
|
|
|
self.assertEqual(project.run_make(), 0,
|
|
msg="Running make failed")
|
|
finally:
|
|
project.clean()
|