]> code.ossystems Code Review - openembedded-core.git/commit
testimage: Allow testing on QEMU machines with a single serial port
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>
Sat, 8 Feb 2020 10:30:04 +0000 (02:30 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Feb 2020 11:54:02 +0000 (11:54 +0000)
commita50d0163770f0b405a8de8a8a9cccd48c1de4112
treebab4754faf7ac97e362be17bf748740359c2a181
parent498e0f83040fe2e83805d8b13d69c17c74a520ba
testimage: Allow testing on QEMU machines with a single serial port

commmit 6cde67d0a84 enables the use of qemurunner on machines that
only have a single serial port, but still sets the default value
as serial_ports=2 if not provided.

The testimage class does not call qemurunner with a serial_ports
argument, hence always defaulting to two.

Pass the serial_ports argument from the testimage class to allow
tests to run on QEMU machines with a single serial port.

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testimage.bbclass
meta/lib/oeqa/core/target/qemu.py