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

Tamas K Lengyel posted 1 patch 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20200318164450.122932-1-tamas@tklengyel.com
.travis.yml          | 3 +++
scripts/travis-build | 3 +++
2 files changed, 6 insertions(+)

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

Posted by Tamas K Lengyel 3 weeks ago
Add compile test for mem_sharing to avoid future breakage going unnoticed.

Signed-off-by: Tamas K Lengyel <tamas@tklengyel.com>
---
 .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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel