summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/buildiptables.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/buildiptables.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/buildiptables.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/buildiptables.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/lib/oeqa/runtime/cases/buildiptables.py b/meta/lib/oeqa/runtime/cases/buildiptables.py
index bae80392d9..002b16c483 100644
--- a/meta/lib/oeqa/runtime/cases/buildiptables.py
+++ b/meta/lib/oeqa/runtime/cases/buildiptables.py
@@ -25,14 +25,9 @@ class BuildIptablesTest(OERuntimeTestCase):
25 'Test requires tools-sdk to be in IMAGE_FEATURES') 25 'Test requires tools-sdk to be in IMAGE_FEATURES')
26 @OETestDepends(['ssh.SSHTest.test_ssh']) 26 @OETestDepends(['ssh.SSHTest.test_ssh'])
27 def test_iptables(self): 27 def test_iptables(self):
28 self.assertEqual(self.project.run_configure(), 0, 28 self.project.run_configure()
29 msg="Running configure failed") 29 self.project.run_make()
30 30 self.project.run_install()
31 self.assertEqual(self.project.run_make(), 0,
32 msg="Running make failed")
33
34 self.assertEqual(self.project.run_install(), 0,
35 msg="Running make install failed")
36 31
37 @classmethod 32 @classmethod
38 def tearDownClass(self): 33 def tearDownClass(self):