Skip to content

Make extract-tests.py use the same test directives as rustdoc's test extractor #11362

Closed
@brson

Description

@brson

Right now to rustdoc supports ignore for marking tests as broken (same as rustc) and should_fail for indicating tests that are supposed to fail. The script we use for extracting tests from the standalone docs supports xfail-test for marking broken tests, ignore and notrust for completely ignoring the code block, and doesn't support should_fail at all.

Make extract-tests.py behave the same as rustdoc.

Alternately, just process all our standalone docs through rustdoc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions