From: Ian Campbell Date: Tue, 17 Nov 2015 17:13:42 +0000 (+0000) Subject: mg-adjust-flight-makexrefs: Make a nop in Standalone mode X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=dda0ac1cdf6e633a3b41877b8075c0bcd94637b3;p=people%2Fiwj%2Fosstest.git mg-adjust-flight-makexrefs: Make a nop in Standalone mode It is not useful to try and drop jobs based on scrobbling around in the standalone history. This makes it possible to "./standalone make-flight xen-unstable-smoke" and fixes standalone-generate-dump-flight-runvars Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- diff --git a/mg-adjust-flight-makexrefs b/mg-adjust-flight-makexrefs index ec555bc3..3e02ef30 100755 --- a/mg-adjust-flight-makexrefs +++ b/mg-adjust-flight-makexrefs @@ -42,6 +42,13 @@ done if [ $# -le 2 ]; then badusage; fi +. ./cri-getconfig + +jobdb=`getconfig JobDB` +if [ "$jobdb" = Standalone ]; then + exit 0 +fi + flight=$1; shift keepjobs=$1; shift