From: Ian Jackson Subject: [OSSTEST PATCH 5/8] standalone: Always set OSSTEST_NO_BASELINE Date: Wed, 25 Feb 2015 13:01:14 +0000 Message-ID: <1424869277-16764-6-git-send-email-ian.jackson@eu.citrix.com> References: <1424869277-16764-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YQbbV-0004Mj-HD for xen-devel@lists.xenproject.org; Wed, 25 Feb 2015 13:02:17 +0000 In-Reply-To: <1424869277-16764-1-git-send-email-ian.jackson@eu.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: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org OSSTEST_NO_BASELINE disables the thing where cr-daily-branch decides (based on information from sg-check-tested) that the baseline is untested and therefore that it ought to do a baseline test instead of testing the tip. This whole feature is never correct in standalone mode, where there is no useful test history database for sg-check-tested to work on. In the case where the branch was osstest, not specifying --baseline and therefore not having OSSTEST_NO_BASELINE didn't make all that much difference because we also have OSSTEST_USE_HEAD=y and currently ap-fetch-version-old (wrongfully) honours that, so the `baseline' test would use the head anyway. Signed-off-by: Ian Jackson --- standalone | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/standalone b/standalone index caf3fd5..dd36467 100755 --- a/standalone +++ b/standalone @@ -72,7 +72,6 @@ flight="standalone" host= reuse=1 # Don't blow away machines by default lvextendmax=50 # Leave some LVM space free for running tests -nobaseline=y while true ; do case "$1" in @@ -82,7 +81,7 @@ while true ; do -r|--reuse) reuse=1; shift 1;; -R|--noreuse|--reinstall)reuse=0;shift 1;; --lvextendmax)lvextendmax=$2; shift 2;; - --baseline)nobaseline=n; shift 1;; + --baseline) echo >&2 'warning: --baseline is obsolete'; shift 1;; --help) usage; exit 0;; --) shift ; break ;; *) echo "Internal error!" ; exit 1 ;; @@ -183,7 +182,7 @@ case $op in BUILD_LVEXTEND_MAX="$lvextendmax" \ OSSTEST_FLIGHT=$flight \ OSSTEST_CONFIG=$config \ - OSSTEST_NO_BASELINE=$nobaseline \ + OSSTEST_NO_BASELINE=y \ with_logging logs/$flight/make-flight.log ./cr-daily-branch $@ $branch ;; -- 1.7.10.4