cr-daily-branch: Make it possible to suppress the forcing of a baseline test
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
@@ -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
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.
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.
Acked-by Ian Jackson <[email protected]>
Thanks.
Quoted 1 line
(But there's a lot of stuff in the queue so don't push it just yet...)
Understood.
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
Acked-by Ian Jackson <[email protected]>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.
Ian Jackson
Acked-byIan 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.
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.
Acked-by Ian Jackson <[email protected]>
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.