OSDN Git Service

tests/q35-test: push down qtest_start / qtest_end to test case(s)
authorLaszlo Ersek <lersek@redhat.com>
Fri, 16 Jun 2017 11:22:00 +0000 (13:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 16 Jun 2017 15:44:55 +0000 (18:44 +0300)
commit8bbf4aa96efb6007b82199fbc19b3173504bfd48
treed711346a3fe34283ed0acc0b4be67f2afa426e40
parent2f295167e0c429cec233aef7dc8e9fd6f90376df
tests/q35-test: push down qtest_start / qtest_end to test case(s)

A test program can start up QEMU several times, with different command
lines. For such cases, qtest_start() and qtest_end() are called from
within the individual test functions. Examples: "virtio-console-test.c",
"numa-test.c", and many others.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/q35-test.c