Skip to contentSkip to conversation

cr-daily-branch: Make it possible to suppress the forcing of a baseline test

PATCH In review Ian Campbell 2 participants 6 messages Feb 10, 2014 – Mar 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 cr-daily-branch: Make it possible to suppress the forcing of a baseline test

This is undesirable (most of the time) in a standalone environment, where you are mostl ikely to be interested in the current version and not historical comparissons.

Not sure there isn't a better way.

---
v2: Remove spurious leading "i" from subject (damn you vi!)
Use safer test conditional/more obvious syntax Remove unneeded call to check_tested as well.

---
 cr-daily-branch | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)
cr-daily-branch +14 -12
index da6cf2f..c4a0872 100755
@@ -85,18 +85,20 @@ check_tested () {
 	  "$@"
 }
 
-testedflight=`check_tested --revision-$tree="$OLD_REVISION"`
-
-if [ "x$testedflight" = x ]; then
-        wantpush=false
-        skipidentical=false
-        force_baseline=true
-	if [ "x$treeurl" != xnone: ]; then
-		treearg=--tree-$tree=$treeurl
-	fi
-	tested_revision=`check_tested $treearg --print-revision=$tree`
-	if [ "x$tested_revision" != x ]; then
-		OLD_REVISION="$tested_revision"
+if [ "x$OSSTEST_NO_BASELINE" != xy ] ; then
+	testedflight=`check_tested --revision-$tree="$OLD_REVISION"`
+
+	if [ "x$testedflight" = x ]; then
+		wantpush=false
+		skipidentical=false
+		force_baseline=true
+		if [ "x$treeurl" != xnone: ]; then
+			treearg=--tree-$tree=$treeurl
+		fi
+		tested_revision=`check_tested $treearg --print-revision=$tree`
+		if [ "x$tested_revision" != x ]; then
+			OLD_REVISION="$tested_revision"
+		fi
 	fi
 fi
 
Signature · 1 line
1.8.5.2
Acked-by on v2 1/1
#1 lore raw

Ian Campbell writes ("[PATCH OSSTEST v2] cr-daily-branch: Make it possible to suppress the forcing of a baseline test"):

Quoted 5 lines

This is undesirable (most of the time) in a standalone environment, where you are mostl ikely to be interested in the current version and not historical comparissons.

Not sure there isn't a better way.

(But there's a lot of stuff in the queue so don't push it just yet...)

Ian.

#2 lore raw
Quoted 8 lines · Ian Jackson

Ian Campbell writes ("[PATCH OSSTEST v2] cr-daily-branch: Make it possible to suppress the forcing of a baseline test"):

Quoted 5 lines

This is undesirable (most of the time) in a standalone environment, where you are mostl ikely to be interested in the current version and not historical comparissons.

Not sure there isn't a better way.

Thanks.

Quoted 1 line

(But there's a lot of stuff in the queue so don't push it just yet...)

Understood.

#3 lore raw
Quoted 8 lines · Ian Campbell
Quoted 7 lines · Ian Jackson

Ian Campbell writes ("[PATCH OSSTEST v2] cr-daily-branch: Make it possible to suppress the forcing of a baseline test"):

Quoted 5 lines

This is undesirable (most of the time) in a standalone environment, where you are mostl ikely to be interested in the current version and not historical comparissons.

Not sure there isn't a better way.

Quoted 7 lines
Quoted 1 line

Thanks.

Quoted 1 line

(But there's a lot of stuff in the queue so don't push it just yet...)

Understood.

I think this wasn't in the wip.rebasing branch which you were keeping and merged at a suitable point. Is it OK to go in now? Things seem quiet.

Ian.

Acked-by
#4 lore raw

Ian Campbell writes ("Re: [Xen-devel] [PATCH OSSTEST v2] cr-daily-branch: Make it possible to suppress the forcing of a baseline test"):

Quoted 3 lines

I think this wasn't in the wip.rebasing branch which you were keeping and merged at a suitable point. Is it OK to go in now? Things seem quiet.

Yes, go ahead.

Ian.

#5 lore raw
Quoted 8 lines · Ian Jackson

Ian Campbell writes ("Re: [Xen-devel] [PATCH OSSTEST v2] cr-daily-branch: Make it possible to suppress the forcing of a baseline test"):

Quoted 3 lines

I think this wasn't in the wip.rebasing branch which you were keeping and merged at a suitable point. Is it OK to go in now? Things seem quiet.

Yes, go ahead.

Thanks. I have now pushed:
cf805fa Allow forcing the use of current osstest HEAD for branch=osstest f836811 ts-hosts-allocate-Standalone: abort if the host to use has changed fd271bd cs-adjust-flight: fix runvar-del
499bafb cr-daily-branch: Make it possible to suppress the forcing of a baseline test
to the pretest branch.

Ian.