diff options
author | Cleber Rosa | 2019-03-12 18:18:08 +0100 |
---|---|---|
committer | Eduardo Habkost | 2019-05-03 02:33:26 +0200 |
commit | 2c44d68f2b004e41136996fef0e4122e6507ba90 (patch) | |
tree | e3e3f470a021d445269d57ae25f4bee8f0a3c737 /tests/acceptance/linux_initrd.py | |
parent | tests/acceptance: fix doc reference to avocado_qemu directory (diff) | |
download | qemu-2c44d68f2b004e41136996fef0e4122e6507ba90.tar.gz qemu-2c44d68f2b004e41136996fef0e4122e6507ba90.tar.xz qemu-2c44d68f2b004e41136996fef0e4122e6507ba90.zip |
tests/acceptance: introduce arch parameter and attribute
It's useful to define the architecture that should be used in
situations such as:
* the intended target of the QEMU binary to be used on tests
* the architecture of code to be run within the QEMU binary, such
as a kernel image or a full blown guest OS image
This commit introduces both a test parameter and a test instance
attribute, that will contain such a value.
Now, when the "arch" test parameter is given, it will influence the
selection of the default QEMU binary, if one is not given explicitly
by means of the "qemu_img" parameter.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190312171824.5134-5-crosa@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/acceptance/linux_initrd.py')
0 files changed, 0 insertions, 0 deletions