From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 075FAE009BB; Thu, 14 May 2015 08:41:33 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.41 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5ACB0E00956 for ; Thu, 14 May 2015 08:41:31 -0700 (PDT) Received: by wgin8 with SMTP id n8so79958848wgi.0 for ; Thu, 14 May 2015 08:41:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=eECapgcfEV2k3frfksml2DB9v+Xy66G4BZKeIU+b/0M=; b=dKXLwz73DoIwgmGi59SP2h70ijcJnr9Rwqys2mrUwf7NMlLPW/+eCJM8xytAv5O55v 6fh7ffAT+RRBwKB+MM1iKcRPM+6vguCk98abdA5Stvht0EU5fI9Q5WGPyV/9z0c5P1Xo GoCh69/4IyHNdlsaOMB6kFbspGW0TcL6J237oBqm7T3G81TTbvhzJ1oAGG/rp9TO8AIa w7ZA7/Zy1ZsxsT5mBs7sL8MQcYJCuMT5NzkrddV9X2ADfJ5lTegVv0Zy5e9SoYYSE1KO qdAeXreJDURMWxiLUoPdx/o+5qUDGn2938kg4r/s7GguVjn+HJq/SKMwZ8uXMvaZH3fe 09Cg== X-Gm-Message-State: ALoCoQmf0sFGn+oWbjFgUpQ5i/hrF8sBSAPzfdHI/dQ1O80EIii940rEEWJ0kGf2bVgmjFfHckRQ X-Received: by 10.194.246.2 with SMTP id xs2mr9588585wjc.102.1431618090317; Thu, 14 May 2015 08:41:30 -0700 (PDT) Received: from [192.168.2.24] ([83.217.123.106]) by mx.google.com with ESMTPSA id df1sm13877865wib.12.2015.05.14.08.41.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 08:41:29 -0700 (PDT) Message-ID: <5554C229.4090101@intel.com> Date: Thu, 14 May 2015 16:41:29 +0100 From: Michael Wood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "toaster@yoctoproject.org" Subject: [review-request] michaelw/fix-toaster-unittests X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2015 15:41:33 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Special attention for review: diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 1bd5143..f0fe28e 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py @@ -117,7 +117,7 @@ class LocalhostBEController(BuildEnvironmentController): f.seek(0, 2) # jump to the end toaster_ui_log_filelength = f.tell() - cmd = "bash -c \"source %s/oe-init-build-env %s 2>&1 >toaster_server.log && bitbake --read conf/toaster-pre.conf --postread conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0 2>&1 >toaster_server.log && DATABASE_URL=%s BBSERVER=0.0.0.0:-1 daemon -d -i -D %s -o toaster_ui.log -- %s --observe-only -u toasterui &\"" % (self.pokydirname, self.be.builddir, + cmd = "bash -c \"source %s/oe-init-build-env %s 2>&1 >toaster_server.log && bitbake --read %s/conf/toaster-pre.conf --postread %s/conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0 2>&1 >toaster_server.log && DATABASE_URL=%s BBSERVER=0.0.0.0:-1 daemon -d -i -D %s -o toaster_ui.log -- %s --observe-only -u toasterui &\"" % (self.pokydirname, self.be.builddir, self.be.builddir, self.be.builddir, commit 0d9e2362821ecf42f690afc0a247fd228cbbd853 Author: Michael Wood Date: Thu May 14 11:20:46 2015 +0100 bitbake: toaster: Fix all the toaster unit test cases This fixes all the test cases that were broken and removes some of the hard coded values that hindered the tests being run elsewhere. Signed-off-by: Michael Wood