[yocto] [[PATCH][yocto-autobuilder]] autobuilder/buildsteps/Run{ESDK, SDK}SanityTests: Enable verbose on bitbake run
Aníbal Limón
anibal.limon at linux.intel.com
Thu Dec 8 07:35:43 PST 2016
Due to a recently changes on OEQA framework now uses the Bitbake logger
within a task there are no way to enable verbose.
Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
.../site-packages/autobuilder/buildsteps/RunESDKSanityTests.py | 2 +-
.../site-packages/autobuilder/buildsteps/RunSDKSanityTests.py | 2 +-
lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/RunESDKSanityTests.py b/lib/python2.7/site-packages/autobuilder/buildsteps/RunESDKSanityTests.py
index c16c8c2..177b726 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/RunESDKSanityTests.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/RunESDKSanityTests.py
@@ -55,7 +55,7 @@ class RunESDKSanityTests(BitbakeShellCommand):
command = command + "echo 'TEST_SUITES = \"" + self.suites + "\"'" + " >> ./conf/auto.conf;"
if self.suitesappend:
command = command + "echo 'TEST_SUITES_append = \" " + self.suitesappend + "\"'" + " >> ./conf/auto.conf;"
- command = command + "DISPLAY=:1 bitbake " + self.images + " -c testsdkext"
+ command = command + "DISPLAY=:1 bitbake -v " + self.images + " -c testsdkext"
else:
command = "echo 'Skipping step.'"
self.command = command
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/RunSDKSanityTests.py b/lib/python2.7/site-packages/autobuilder/buildsteps/RunSDKSanityTests.py
index 6fb3127..62c677b 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/RunSDKSanityTests.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/RunSDKSanityTests.py
@@ -58,7 +58,7 @@ class RunSDKSanityTests(BitbakeShellCommand):
command = command + "echo 'TEST_SUITES = \"" + self.suites.replace('kernelmodule', '').replace('python', '') + "\"'" + " >> ./conf/auto.conf;"
if self.suitesappend:
command = command + "echo 'TEST_SUITES_append = \" " + self.suitesappend + "\"'" + " >> ./conf/auto.conf;"
- command = command + "DISPLAY=:1 bitbake " + self.images + " -c testsdk"
+ command = command + "DISPLAY=:1 bitbake -v " + self.images + " -c testsdk"
else:
command = "echo 'Skipping step.'"
self.command = command
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py b/lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py
index f7947de..48c8155 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py
@@ -64,12 +64,12 @@ class RunSanityTests(BitbakeShellCommand):
command = command + "echo 'TEST_SUITES = \"" + self.suites.replace('kernelmodule', '').replace('python', '') + "\"'" + " >> ./conf/auto.conf;"
if self.suitesappend:
command = command + "echo 'TEST_SUITES_append = \" " + self.suitesappend + "\"'" + " >> ./conf/auto.conf;"
- command = command + "DISPLAY=:1 bitbake " + self.images + " -c testimage"
+ command = command + "DISPLAY=:1 bitbake -v " + self.images + " -c testimage"
else:
command = command + "echo 'IMAGETEST = \"qemu\"' >> ./conf/auto.conf;"
if self.scene:
command = command + "echo 'TEST_SCEN = \"" + self.scene + "\"'" + " >> ./conf/auto.conf;"
- command = command + "DISPLAY=localhost:1 bitbake " + self.images + " -c qemuimagetest_standalone"
+ command = command + "DISPLAY=localhost:1 bitbake -v " + self.images + " -c qemuimagetest_standalone"
self.command = command
ShellCommand.start(self)
--
2.1.4
More information about the yocto
mailing list