]> xenbits.xensource.com Git - rumpuser-xen.git/commitdiff
accept -q for quiet build (and -qq for even quieter)
authorAntti Kantee <pooka@iki.fi>
Fri, 19 Dec 2014 00:22:05 +0000 (00:22 +0000)
committerAntti Kantee <pooka@iki.fi>
Fri, 19 Dec 2014 00:22:05 +0000 (00:22 +0000)
.travis.yml
buildxen.sh

index bbc543b8f59804f8d461a742ce391571871b2af8..bdaba233a6357e229b3abd839ab8dec585ae6dd7 100644 (file)
@@ -5,7 +5,7 @@ before_install:
  - sudo apt-get install libxen-dev -y
 
 script:
-  - BUILDXEN_QUIET=qq ./buildxen.sh
+  - ./buildxen.sh -qq
   - ( export PATH="${PATH}:$(pwd)/app-tools" ; cd tests/configure && rumpapp-xen-configure ./configure && rumpapp-xen-make )
 
 notifications:
index 1bf1cfe8344c2f1588d33365771b31dfc7e65e94..fa91217382aff0e8cc53bce16b9381a141a9b963 100755 (executable)
@@ -7,11 +7,14 @@
 STDJ='-j4'
 RUMPSRC=rumpsrc
 
-while getopts '?s:' opt; do
+while getopts '?qs:' opt; do
        case "$opt" in
        's')
                RUMPSRC=${OPTARG}
                ;;
+       'q')
+               BUILDXEN_QUIET=${BUILDXEN_QUIET:=-}q
+               ;;
        '?')
                exit 1
        esac
@@ -30,7 +33,7 @@ fi
 [ "$1" = "justcheckout" ] && { echo ">> $0 done" ; exit 0; }
 
 # build tools
-./buildrump.sh/buildrump.sh -${BUILDXEN_QUIET:-q} ${STDJ} -k \
+./buildrump.sh/buildrump.sh ${BUILDXEN_QUIET} ${STDJ} -k \
     -V MKPIC=no -s ${RUMPSRC} -T rumptools -o rumpobj -N \
     -V RUMP_KERNEL_IS_LIBC=1 tools
 
@@ -75,7 +78,7 @@ for lib in ${LIBS}; do
        makeuserlib ${lib}
 done
 
-./buildrump.sh/buildrump.sh ${BUILD_QUIET} $* \
+./buildrump.sh/buildrump.sh ${BUILDXEN_QUIET} $* \
     -s ${RUMPSRC} -T rumptools -o rumpobj install
 
 [ ! -f img/test.ffs ] && cp img/test_clean.ffs img/test.ffs