@samitouri / QOSamiQemu / commits / ee162437bf

iotests: print reason when I/O test is skipped in TAP mode

The TAP output on a skipped test: ok raw 181 # SKIP is not informative. The test program included a reason, and that should be displayed in TAP mode (it is already shown in non-TAP mode): ok raw 181 # SKIP Postcopy is not supported Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

Daniel P. Berrangé committed Oct 7, 2025 at 16:19 UTC ee162437bfd8791c82dfcdcef26c62a64c83cee4
1 file changed +1 -1
tests/qemu-iotests/testrunner.py
+1 -1
@@ -174,7 +174,7 @@ class TestRunner(contextlib.AbstractContextManager['TestRunner']):
174 elif status == 'fail':
175 print(f'not ok {self.env.imgfmt} {test}')
176 elif status == 'not run':
177 - print(f'ok {self.env.imgfmt} {test} # SKIP')
177 + print(f'ok {self.env.imgfmt} {test} # SKIP {description}')
178 return
179
180 if lasttime: