docker: Add quick test
authorFam Zheng <famz@redhat.com>
Wed, 1 Jun 2016 04:25:21 +0000 (12:25 +0800)
committerFam Zheng <famz@redhat.com>
Wed, 1 Jun 2016 09:27:35 +0000 (17:27 +0800)
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

tests/docker/test-quick [new file with mode: 0755]

diff --git a/tests/docker/test-quick b/tests/docker/test-quick
new file mode 100755 (executable)
index 0000000..07cdc59
--- /dev/null
@@ -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