aboutsummaryrefslogtreecommitdiff
path: root/tests/vm/freebsd
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-01-21 16:48:15 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-02-08 17:32:35 +0000
commit5c2ec9b61f33c18ef734e98a42d28ba99775b20c (patch)
treedda8479bb202e75b261343829d90ad1aa12fc616 /tests/vm/freebsd
parenta4cefbcd9bc8403c4de8847d422451c2e85aa3f6 (diff)
downloadqemu-5c2ec9b61f33c18ef734e98a42d28ba99775b20c.zip
qemu-5c2ec9b61f33c18ef734e98a42d28ba99775b20c.tar.gz
qemu-5c2ec9b61f33c18ef734e98a42d28ba99775b20c.tar.bz2
tests/vm: add --build-target option
This allows us to invoke the build with a custom target (for the VMs that use the {target} format string specifier). Currently OpenBSD is still hardwired due to problems running check. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/vm/freebsd')
-rwxr-xr-xtests/vm/freebsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/freebsd b/tests/vm/freebsd
index a85c866..1d64c31 100755
--- a/tests/vm/freebsd
+++ b/tests/vm/freebsd
@@ -25,7 +25,7 @@ class FreeBSDVM(basevm.BaseVM):
cd $(mktemp -d /var/tmp/qemu-test.XXXXXX);
tar -xf /dev/vtbd1;
./configure {configure_opts};
- gmake --output-sync -j{jobs} check {verbose};
+ gmake --output-sync -j{jobs} {target} {verbose};
"""
def build_image(self, img):