scripts/qemuimage-testlib: Dump extra info if the network doesn't come up
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Apr 2013 22:24:53 +0000 (23:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Apr 2013 22:25:22 +0000 (23:25 +0100)
(From OE-Core rev: db4a4cc8ba8082a27224a3e55fb5e8eb7de2bbe7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/qemuimage-testlib

index f791c52..22e2d41 100755 (executable)
@@ -469,6 +469,10 @@ Test_Create_Qemu()
                fi
        done
 
+       Test_Info "Process list dumped for debugging purposes:"
+       ps axww -O ppid
+       Test_Info "runqemu output log:"
+       cat ${RUNQEMU_LOGFILE}
        Test_Info "Qemu or its network is not up in ${timeout} seconds"
        Test_Update_IPSAVE $XTERMPID $TARGET_IPADDR
        return 1