Skip to content

subtests interact badly with -rewrite #20

@RaduBerinde

Description

@RaduBerinde

If you try to run a subtest and pass -rewrite, the outcome is bad (all tests that did not run disappear).

We should either make it work (by not modifying the tests that did not run) or detect when a test filter is in place and disallow -rewrite. One way to detect would be to count how many of our .Run() calls actually run, and bail at the end if we didn't run anything.

We should make a similar change to the logictests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions