From: Ian Campbell Subject: [PATCH OSSTEST 1/5] mg-adjust-flight-makexrefs: Make a nop in Standalone mode Date: Tue, 17 Nov 2015 17:13:42 +0000 Message-ID: <1447780426-4286-1-git-send-email-ian.campbell@citrix.com> References: <1447780393.301.51.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1447780393.301.51.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- 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