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

[Xen-changelog] [xen master] travis: add randconfig test target



commit 810ad0fbd85e9cccae6e740cf5a487ce22bc9e0d
Author:     Doug Goldstein <cardoe@xxxxxxxxxx>
AuthorDate: Thu Feb 18 17:47:15 2016 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Feb 18 17:47:15 2016 +0100

    travis: add randconfig test target
    
    Add another build target which uses randconfig to randomize the config
    file so that we build test more than the default config.
    
    Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
 .travis.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index c7227ba..7dbd82a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,8 @@ matrix:
         - compiler: gcc
           env: XEN_TARGET_ARCH=x86_64
         - compiler: gcc
+          env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y RANDCONFIG=y
+        - compiler: gcc
           env: XEN_TARGET_ARCH=x86_64 COMPILER=gcc-5
         - compiler: gcc
           env: XEN_TARGET_ARCH=x86_64 debug=y
@@ -24,10 +26,14 @@ matrix:
         - compiler: gcc
           env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf-
         - compiler: gcc
+          env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- 
XEN_CONFIG_EXPERT=y RANDCONFIG=y
+        - compiler: gcc
           env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=y
         - compiler: gcc
           env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
         - compiler: gcc
+          env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 
XEN_CONFIG_EXPERT=y RANDCONFIG=y
+        - compiler: gcc
           env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=y
 addons:
     apt:
@@ -69,5 +75,9 @@ before_script:
     - export CC=${COMPILER:-${CC}}
     - ${CC} --version
 script:
+    - ( [ "x${RANDCONFIG}" = "xy" ] && ( make -C xen randconfig )
+      || exit 0 )
     - ( ./configure --disable-tools --disable-stubdom --enable-docs &&
       make CC="${CROSS_COMPILE}${CC}" HOSTCC="${CC}" dist )
+after_script:
+    - cat xen/.config
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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