Skip to content

Support a --keep-going option when running tests #42683

Description

@infinity0

This would be helpful for distros when running tests, both for (a) distros that ignore a failed test run and (b) for distros that try to keep a clean test run.

When a suite fails, rustbuild won't run further test suites. In the case of (a) any subsequent failures are hidden, which might be important ones that mean the built compiler is dangerous, and in the case of (b) it takes a lot of time to patch out this failure, re-run the whole build to see what the next failure is, and repeat this until there are no unpatched failures left.

If rustbuild runs all test suites even if one of them fails, then all failures in all test suites would be reported and people can see the status of their package better, as well as fix things in a much shorter amount of time.

Activity

  1. added
    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
    on Jun 15, 2017
  2. petrochenkov commented on Jun 15, 2017

    @petrochenkov
    Contributor

    Do you mean something like #42363?

  3. infinity0 commented on Jun 15, 2017

    @infinity0
    ContributorAuthor

    Yes, exactly! Sorry for the noise, I'm still a release behind in Debian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions