Skip to contentSkip to conversation

travis: add mem_sharing compile test

PATCH New Tamas K Lengyel 1 participant 1 message Mar 18, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis: add mem_sharing compile test

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

---
 .travis.yml          | 3 +++
 scripts/travis-build | 3 +++
 2 files changed, 6 insertions(+)
.travis.yml +3 -0
index 15ca9e9047..908d205d27 100644
@@ -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:
scripts/travis-build +3 -0
index 0cb15a89e4..b92437e92e 100755
@@ -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
Signature · 7 lines
2.20.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel