]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/utils/dump: Add default commands and directory
authorMariano Lopez <mariano.lopez@linux.intel.com>
Tue, 22 Sep 2015 11:14:15 +0000 (11:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Sep 2015 21:21:02 +0000 (22:21 +0100)
commit713beaf84f8b8ab415b7a8ccba8a4a2aff7f98e5
treef9e8db5a2acea5788fb62cb96b368ab1e1740695
parenta2123dd753b70470065df277deda500cae478289
oeqa/utils/dump: Add default commands and directory

Currently if qemu fails when running a selftest and
tries to run some commands on the host it will fail
because some variables required by the Dumper class
do not exist because testimage was not included.

This change adds a default parent directory to save
the dumps for the host or target. Also adds default
commands to run if no commands were provided to the
class. With these changes the previous errors using
selftest don't show anymore.

[YOCTO #8306]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/dump.py