Skip to content

Tracking Issue for Incr. Comp. Regression Testing #36350

Closed
@michaelwoerister

Description

@michaelwoerister
Member

Incremental compilation needs good regression testing, which can be split into the following components:

  • Dependency graph oriented tests that make sure that certain edges are present or not present under certain circumstances. These will use the #[rustc_if_this_changed]/#[rustc_then_this_would_need] infrastructure.
  • Git history based tests that will walk the history of some selected crates, building each revision incrementally and from scratch and then comparing the two for equality. These tests will be based on cargo incremental. See Continuous Regression Testing for Incremental Compilation #36809 for more information.
  • In order to make it easy to contribute in this area, we'll also want to

    • Compile links to the appropriate documentation of the test framework and some of the concepts and inner workings of incremental compilation
    • Provide well-documented examples of what test cases in various areas should look like
    • Expand the above list with as concrete as possible descriptions of individual test cases we are interested in, and open individual GH issues for them.

    Activity

    added
    A-testsuiteArea: The testsuite used to check the correctness of rustc
    metabugIssues about issues themselves ("bugs about bugs")
    A-incr-compArea: Incremental compilation
    on Sep 8, 2016
    added a commit that references this issue on Oct 2, 2016

    Auto merge of #36840 - eulerdisk:incr_test_for_hash_enum, r=michaelwo…

    added a commit that references this issue on Oct 7, 2016

    Auto merge of #36940 - eulerdisk:incr_test_for_hash_trait, r=michaelw…

    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

      A-incr-compArea: Incremental compilationA-testsuiteArea: The testsuite used to check the correctness of rustcmetabugIssues about issues themselves ("bugs about bugs")

      Type

      No type

      Projects

      No projects

      Relationships

      None yet

        Development

        No branches or pull requests

          Participants

          @michaelwoerister

          Issue actions

            Tracking Issue for Incr. Comp. Regression Testing · Issue #36350 · rust-lang/rust