summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-07-27 17:40:40 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-01 11:47:13 +0100
commita86a1b2703372c12e7fca18918695d093ea6ee53 (patch)
tree903c463e0d0b0b89ffaf0acb50a98725ae6872b5 /meta/classes/testimage.bbclass
parent140f6c7308de3f4f0f068a553f6ad0e6b5aeba5a (diff)
downloadpoky-a86a1b2703372c12e7fca18918695d093ea6ee53.tar.gz
classes/testimage: When image is systemd, enable debug log level
In order to get more information about systemd boot process to be able to debug random failures due to high I/O. [YOCTO #9299] (From OE-Core rev: a0bb64973e767c3b8e0bae18ee84ed92693922f0) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r--meta/classes/testimage.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 0b6c779dbc..e42c5acce9 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -144,7 +144,10 @@ def testimage_main(d):
144 tc.extract_packages() 144 tc.extract_packages()
145 target.deploy() 145 target.deploy()
146 try: 146 try:
147 target.start() 147 bootparams = None
148 if d.getVar('VIRTUAL-RUNTIME_init_manager', '') == 'systemd':
149 bootparams = 'systemd.log_level=debug systemd.log_target=console'
150 target.start(extra_bootparams=bootparams)
148 starttime = time.time() 151 starttime = time.time()
149 result = tc.runTests() 152 result = tc.runTests()
150 stoptime = time.time() 153 stoptime = time.time()