aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2023-03-15 17:43:20 +0000
committerAlex Bennée <alex.bennee@linaro.org>2023-03-22 15:08:26 +0000
commit6e5792a1f6ecc155fc977e3813e75fc8ede478ab (patch)
tree36582d158d8bda6acb2b7cd4646be74dbb75fd17
parent663755b02247b848d4a342072a528ae1d402611c (diff)
downloadqemu-6e5792a1f6ecc155fc977e3813e75fc8ede478ab.zip
qemu-6e5792a1f6ecc155fc977e3813e75fc8ede478ab.tar.gz
qemu-6e5792a1f6ecc155fc977e3813e75fc8ede478ab.tar.bz2
iotests: print TAP protocol version when reporting tests
Recently meson started complaining that TAP test reports don't include the TAP protocol version. While this warning is bogus and has since been removed from Meson, it looks like good practice to include this header going forward. The GLib library test harness has started unconditionally printing the version, so this brings the I/O tests into line. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Acked-by: Hanna Czenczek <hreitz@redhat.com> Tested-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230303160727.3977246-5-berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230315174331.2959-22-alex.bennee@linaro.org>
-rw-r--r--tests/qemu-iotests/testrunner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/testrunner.py b/tests/qemu-iotests/testrunner.py
index 5a771da..e734800 100644
--- a/tests/qemu-iotests/testrunner.py
+++ b/tests/qemu-iotests/testrunner.py
@@ -391,6 +391,7 @@ class TestRunner(ContextManager['TestRunner']):
casenotrun = []
if self.tap:
+ print('TAP version 13')
self.env.print_env('# ')
print('1..%d' % len(tests))
else: