diff mbox

[v2,06/15] docker: Add quick test

Message ID 1455626399-7111-7-git-send-email-famz@redhat.com
State New
Headers show

Commit Message

Fam Zheng Feb. 16, 2016, 12:39 p.m. UTC
Signed-off-by: Fam Zheng <famz@redhat.com>
---
 tests/docker/test-quick | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100755 tests/docker/test-quick
diff mbox

Patch

diff --git a/tests/docker/test-quick b/tests/docker/test-quick
new file mode 100755
index 0000000..ce3cc99
--- /dev/null
+++ b/tests/docker/test-quick
@@ -0,0 +1,23 @@ 
+#!/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
+
+mkdir build
+mkdir install
+cd build
+build_qemu \
+    --prefix="${pwd}/install" \
+    --target-list="$(echo {x86_64,i386,arm,aarch64}-{softmmu,linux-user})"
+make check $MAKEFLAGS
+make install