aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/test-quick
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-06-01 12:25:21 +0800
committerFam Zheng <famz@redhat.com>2016-06-01 17:27:35 +0800
commitb7899d63c8780a69b690974de48d4ecabc773308 (patch)
tree9169ca8c50084c1d24a2d54a19d7960015c3e7ac /tests/docker/test-quick
parent3568f98ca56099309417a9bbf0e22435fa7094a5 (diff)
downloadqemu-b7899d63c8780a69b690974de48d4ecabc773308.zip
qemu-b7899d63c8780a69b690974de48d4ecabc773308.tar.gz
qemu-b7899d63c8780a69b690974de48d4ecabc773308.tar.bz2
docker: Add quick test
Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1464755128-32490-9-git-send-email-famz@redhat.com
Diffstat (limited to 'tests/docker/test-quick')
-rwxr-xr-xtests/docker/test-quick19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/docker/test-quick b/tests/docker/test-quick
new file mode 100755
index 0000000..07cdc59
--- /dev/null
+++ b/tests/docker/test-quick
@@ -0,0 +1,19 @@
+#!/bin/bash -e
+#
+# Quick compiling test that everyone already does. But why not automate it?
+#
+# Copyright (c) 2016 Red Hat Inc.
+#
+# Authors:
+# Fam Zheng <famz@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
+
+DEF_TARGET_LIST="$(echo {x86_64,aarch64}-softmmu)"
+TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
+build_qemu
+make check $MAKEFLAGS