Skip to content
Snippets Groups Projects
Commit e48093a6 authored by Thomas Huth's avatar Thomas Huth Committed by Hanna Reitz
Browse files

tests/qemu-iotests/testrunner: Supply a test plan in TAP mode


Quoting the TAP specification: "The plan tells how many tests will be
run [...]. It’s a check that the test file hasn’t stopped prematurely."
That's a good idea of course, so let's support that in the iotest
testrunner, too.

Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Message-Id: <20220223095816.2663005-1-thuth@redhat.com>
Signed-off-by: default avatarHanna Reitz <hreitz@redhat.com>
parent e287072b
No related branches found
No related tags found
No related merge requests found
......@@ -388,6 +388,7 @@ def run_tests(self, tests: List[str], jobs: int = 1) -> bool:
if self.tap:
self.env.print_env('# ')
print('1..%d' % len(tests))
else:
self.env.print_env()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment