summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/buildgalculator.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-03 10:30:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-05 09:22:17 +0000
commit6840618f1a718d3aa8fd9e7e4fd3ffde01559e7d (patch)
treee3d7c46f7b21e570fd64870e16680f5d0f378c46 /meta/lib/oeqa/runtime/cases/buildgalculator.py
parent51481fe9bbfb07271317824eac3044be6cab297c (diff)
downloadpoky-6840618f1a718d3aa8fd9e7e4fd3ffde01559e7d.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/buildgalculator.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/buildgalculator.py7
1 files changed, 2 insertions, 5 deletions
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):
24 'Test requires tools-sdk to be in IMAGE_FEATURES') 24 'Test requires tools-sdk to be in IMAGE_FEATURES')
25 @OETestDepends(['ssh.SSHTest.test_ssh']) 25 @OETestDepends(['ssh.SSHTest.test_ssh'])
26 def test_galculator(self): 26 def test_galculator(self):
27 self.assertEqual(self.project.run_configure(), 0, 27 self.project.run_configure()
28 msg="Running configure failed") 28 self.project.run_make()
29
30 self.assertEqual(self.project.run_make(), 0,
31 msg="Running make failed")