Skip to content

#[should_fail] unit tests are broken on windows #8013

Closed
@crnobog

Description

@crnobog

Running the std unit tests on windows finishes with

running 1042 tests
test ascii::tests::test_ascii ... ok
test ascii::tests::test_ascii_fail_char_slice ... rust: task failed at '955 is not ascii', C:\code\rust\src\libstd\str\ascii.rs:143
rust: domain main @0xb93960 root task failed

Looks like the fail!() that is supposed to cause the test to pass is bringing down the whole executable instead of just the one test. May be related to #7999 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions