diff options
author | André Draszik <git@andred.net> | 2019-12-12 21:52:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-16 23:22:03 +0000 |
commit | ca58559fc30842c123907fb5cc68b3356c530862 (patch) | |
tree | 285e96a30eeef0fcf15f26b18a1366f8273da75d /meta/lib/oeqa/core/target/qemu.py | |
parent | 9f401cd8b010ca613a151d0323b251f2243f399f (diff) | |
download | openembedded-core-ca58559fc30842c123907fb5cc68b3356c530862.tar.gz |
oeqa/target/ssh oeqa/target/qemu: expose server listening port to tests
Allow tests to access the listening port as just introduced.
Note that when using qemu this infrastructure shouldn't be
needed, but we still need to set the port to 0 so that
a listening port is determined automatically (e.g. by the
python http server).
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core/target/qemu.py')
-rw-r--r-- | meta/lib/oeqa/core/target/qemu.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/core/target/qemu.py b/meta/lib/oeqa/core/target/qemu.py index 081c627b01..758703c0d1 100644 --- a/meta/lib/oeqa/core/target/qemu.py +++ b/meta/lib/oeqa/core/target/qemu.py @@ -24,6 +24,7 @@ class OEQemuTarget(OESSHTarget): user, port) self.server_ip = server_ip + self.server_port = 0 self.machine = machine self.rootfs = rootfs self.kernel = kernel |