The testimage class supports a simpleremote target specifying the server and target ip to run tests over SSH.
The main usage of this will in conjunction with the DAFT to make tests on real HW. [YOCTO #10604] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- .../site-packages/autobuilder/buildsteps/RunSanityTests.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py b/lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py index 6fa03bc..0022cb9 100644 --- a/lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py +++ b/lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py @@ -60,6 +60,14 @@ class RunSanityTests(BitbakeShellCommand): elif layerversion > 1: self.command = self.command + "echo 'INHERIT += \"testimage\"' >> ./conf/auto.conf;" self.command = self.command + "echo 'TEST_QEMUBOOT_TIMEOUT = \"1500\"' >> ./conf/auto.conf;" + + target_ip = self.getProperty('target_ip') + server_ip = self.getProperty('server_ip') + if target_ip and server_ip: + self.command = self.command + "echo 'TEST_TARGET=\"simpleremote\"' >> ./conf/auto.conf;" + self.command = self.command + "echo 'TEST_TARGET_IP=\"%s\"' >> ./conf/auto.conf;" % target_ip + self.command = self.command + "echo 'TEST_SERVER_IP=\"%s\"' >> ./conf/auto.conf;" % server_ip + if self.suites: if layerversion > 3: self.command = self.command + "echo 'TEST_SUITES = \"" + self.suites + "\"'" + " >> ./conf/auto.conf;" -- 2.1.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto