[Toaster] [review-request] michaelw/fix-toaster-unittests
Michael Wood
michael.g.wood at intel.com
Thu May 14 08:41:29 PDT 2015
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 <michael.g.wood at intel.com>
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 <michael.g.wood at intel.com>
More information about the toaster
mailing list