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

[Xen-devel] [OSSTEST PATCH 18/24] cr-daily-branch: Move harness_rev definition



And also adjust some formatting.

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 cr-daily-branch | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/cr-daily-branch b/cr-daily-branch
index 158554d..f0c6718 100755
--- a/cr-daily-branch
+++ b/cr-daily-branch
@@ -272,9 +272,9 @@ if [ "x$OLD_REVISION" = xdetermine-late ]; then
 fi
 
 case $branch in
-distros-*) makeflight=./make-distros-flight ;;
-xen-*-coverity)makeflight=./make-coverity-flight ;;
-*)         makeflight=./make-flight ;;
+distros-*)     makeflight=./make-distros-flight ;;
+xen-*-coverity)        makeflight=./make-coverity-flight ;;
+*)             makeflight=./make-flight ;;
 esac
 
 if [ "x$NEW_REVISION" = "x$OLD_REVISION" ]; then
@@ -294,10 +294,12 @@ $DAILY_BRANCH_PREMAKE_HOOK
 
 flight=`$makeflight $branch $xenbranch $OSSTEST_BLESSING "$@"`
 
+harness_rev=$(perl -e 'use Osstest; print get_harness_rev();')
+narness_rev=${harness_rev%+}
+
 case $branch in
 xen-unstable-smoke)
-       harness_rev=$(perl -e 'use Osstest; print get_harness_rev();')
-       : ${SMOKE_HARNESS_REV:=${harness_rev%+}}
+       : ${SMOKE_HARNESS_REV:=$harness_rev}
 
        ./mg-adjust-flight-makexrefs -v $flight \
                '!build-amd64 !build-amd64-libvirt !build-armhf build-*' \
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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