]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
mg-adjust-flight-makexrefs: Make a nop in Standalone mode
authorIan Campbell <ian.campbell@citrix.com>
Tue, 17 Nov 2015 17:13:42 +0000 (17:13 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 30 Nov 2015 14:16:14 +0000 (14:16 +0000)
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 <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
mg-adjust-flight-makexrefs

index ec555bc3baca82adcf8288b2214b84e493598297..3e02ef30a0cec514eecdc0637cd3b3711359506b 100755 (executable)
@@ -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