diff options
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 140babed74..1d9464f5e9 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -56,6 +56,30 @@ TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:d | |||
56 | TESTIMAGELOCK = "${TMPDIR}/testimage.lock" | 56 | TESTIMAGELOCK = "${TMPDIR}/testimage.lock" |
57 | TESTIMAGELOCK_qemuall = "" | 57 | TESTIMAGELOCK_qemuall = "" |
58 | 58 | ||
59 | TESTIMAGE_DUMP_DIR ?= "/tmp/oe-saved-tests/" | ||
60 | |||
61 | testimage_dump_target () { | ||
62 | top -bn1 | ||
63 | ps | ||
64 | free | ||
65 | df | ||
66 | _ping | ||
67 | dmesg | ||
68 | netstat -an | ||
69 | ip address | ||
70 | _logs | ||
71 | } | ||
72 | |||
73 | testimage_dump_host () { | ||
74 | top -bn1 | ||
75 | ps -ef | ||
76 | free | ||
77 | df | ||
78 | memstat | ||
79 | dmesg | ||
80 | netstat -an | ||
81 | } | ||
82 | |||
59 | python do_testimage() { | 83 | python do_testimage() { |
60 | testimage_main(d) | 84 | testimage_main(d) |
61 | } | 85 | } |