test.py: show mode and suite name when listing tests
For --list, show also mode and suite name. Signed-off-by: Alejo Sanchez <alejo.sanchez@scylladb.com> Closes #14729
This commit is contained in:
committed by
Pavel Emelyanov
parent
b3cb611be7
commit
13e31eaeca
3
test.py
3
test.py
@@ -1494,7 +1494,8 @@ async def main() -> int:
|
||||
|
||||
await find_tests(options)
|
||||
if options.list_tests:
|
||||
print('\n'.join([t.name for t in TestSuite.all_tests()]))
|
||||
print('\n'.join([f"{t.suite.mode:<8} {type(t.suite).__name__[:-9]:<11} {t.name}"
|
||||
for t in TestSuite.all_tests()]))
|
||||
return 0
|
||||
|
||||
signaled = asyncio.Event()
|
||||
|
||||
Reference in New Issue
Block a user