aboutsummaryrefslogtreecommitdiff
path: root/tests/docker
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-10 16:24:29 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:18:35 -0400
commitb861f59593cf8f45cd2a7fd8f6122835566ad64d (patch)
treec4bda6424d19637e75d23716ad5c12e196327111 /tests/docker
parent00eb3db0aa2a9ff602d00e9870b52a2da36336df (diff)
downloadqemu-b861f59593cf8f45cd2a7fd8f6122835566ad64d.zip
qemu-b861f59593cf8f45cd2a7fd8f6122835566ad64d.tar.gz
qemu-b861f59593cf8f45cd2a7fd8f6122835566ad64d.tar.bz2
tests/docker: add test script for static linux-user builds
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/docker')
-rwxr-xr-xtests/docker/test-static24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/docker/test-static b/tests/docker/test-static
new file mode 100755
index 0000000..372ef6f
--- /dev/null
+++ b/tests/docker/test-static
@@ -0,0 +1,24 @@
+#!/bin/bash -e
+#
+# Compile QEMU user mode emulators as static binaries on Linux.
+#
+# Copyright (c) 2020 Red Hat Inc.
+#
+# Authors:
+# Paolo Bonzini <pbonzini@redhat.com>
+#
+# This work is licensed under the terms of the GNU GPL, version 2
+# or (at your option) any later version. See the COPYING file in
+# the top-level directory.
+
+. common.rc
+
+cd "$BUILD_DIR"
+
+build_qemu \
+ --disable-system \
+ --disable-tools \
+ --disable-guest-agent \
+ --disable-docs \
+ --static
+install_qemu