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

[Xen-devel] [PATCH] travis: add mem_sharing compile test



Add compile test for mem_sharing to avoid future breakage going unnoticed.

Signed-off-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
---
 .travis.yml          | 3 +++
 scripts/travis-build | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 15ca9e9047..908d205d27 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,6 +36,9 @@ matrix:
           env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 
XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n
         - compiler: gcc
           env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=y
+        - compiler: gcc
+          env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y MEM_SHARING=y debug=y
+
 addons:
     apt:
         sources:
diff --git a/scripts/travis-build b/scripts/travis-build
index 0cb15a89e4..b92437e92e 100755
--- a/scripts/travis-build
+++ b/scripts/travis-build
@@ -5,6 +5,9 @@ $CC --version
 # random config or default config
 if [[ "${RANDCONFIG}" == "y" ]]; then
     make -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config randconfig
+elif [[ "${MEM_SHARING}" == "y" ]]; then
+    echo "CONFIG_MEM_SHARING=y" > xen/.config
+    make -C xen olddefconfig
 else
     make -C xen defconfig
 fi
-- 
2.20.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.