From 6840618f1a718d3aa8fd9e7e4fd3ffde01559e7d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 3 Feb 2017 10:30:59 +0000 Subject: oeqa/runtime: Improve failure log output Printing a message which says "configure failed" without the log output is effectively useless. If a command fails, print the output by default and simplify the calling code which makes debugging any of these failures much easier. (From OE-Core rev: b6352ff001c29f0bff10c18879b92c5618ec645c) Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/buildgalculator.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'meta/lib/oeqa/runtime/cases/buildgalculator.py') diff --git a/meta/lib/oeqa/runtime/cases/buildgalculator.py b/meta/lib/oeqa/runtime/cases/buildgalculator.py index 0bd76f9ea2..7c9d4a392b 100644 --- a/meta/lib/oeqa/runtime/cases/buildgalculator.py +++ b/meta/lib/oeqa/runtime/cases/buildgalculator.py @@ -24,8 +24,5 @@ class GalculatorTest(OERuntimeTestCase): 'Test requires tools-sdk to be in IMAGE_FEATURES') @OETestDepends(['ssh.SSHTest.test_ssh']) def test_galculator(self): - self.assertEqual(self.project.run_configure(), 0, - msg="Running configure failed") - - self.assertEqual(self.project.run_make(), 0, - msg="Running make failed") + self.project.run_configure() + self.project.run_make() -- cgit v1.2.3-54-g00ecf