Skip to content

Distinguish test abort from all tests passed #59795

@hotpineapple

Description

@hotpineapple

Version

No response

Platform

mac m1

Subsystem

tools

What steps will reproduce the bug?

run tools/test.py

abort test before any failure detected

How often does it reproduce? Is there a required condition?

always

What is the expected behavior? Why is that the expected behavior?

test aborted

What do you see instead?

all tests passed

Additional information

During run tools/test.py "All tests passed." is printed even when the user aborted the test using the keyboard (e.g., Ctrl+C), as long as no test failures had occurred.

This can be confusing. I hope that different output would be printed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolsIssues and PRs related to the tools directory.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions