qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 06/12] docker: Add basic test


From: Fam Zheng
Subject: [Qemu-devel] [PATCH 06/12] docker: Add basic test
Date: Fri, 5 Feb 2016 17:24:17 +0800

Signed-off-by: Fam Zheng <address@hidden>
---
 tests/docker/test-basic.sh | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100755 tests/docker/test-basic.sh

diff --git a/tests/docker/test-basic.sh b/tests/docker/test-basic.sh
new file mode 100755
index 0000000..c2b32ad
--- /dev/null
+++ b/tests/docker/test-basic.sh
@@ -0,0 +1,22 @@
+#!/bin/bash -e
+#
+# Basic compiling test that everyone already does. But why not automate it?
+#
+# Copyright (c) 2016 Red Hat Inc.
+#
+# Authors:
+#  Fam Zheng <address@hidden>
+#
+# 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 $(mktemp -d)
+mkdir build
+mkdir install
+cd build
+build_qemu --target-list=x86_64-softmmu --prefix="${pwd}/install"
+make check $MAKEFLAGS
+make install
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]