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

[Xen-devel] [PATCH OSSTEST 1/5] 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 <ian.campbell@xxxxxxxxxx>
---
 mg-adjust-flight-makexrefs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/mg-adjust-flight-makexrefs b/mg-adjust-flight-makexrefs
index ec555bc..3e02ef3 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
 
-- 
2.6.1


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


 


Rackspace

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