Tracking Issue for incr. comp. red/green testing #44716
Labels
A-incr-comp
Area: Incremental compilation
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
WG-incr-comp
Working group: Incremental compilation
We already have quite a bit of testing in place for incremental compilation but some of it needs to be adapted to the new red/green change tracking system. This issue will track the needed changes and the progress we make on them.
Incremental Compilation Testing Strategy
We use four major kinds of tests in order to keep regressions at bay:
#![rustc_partition_reused]
/#![rustc_partition_translated]
attributes and are located in src/test/incremental.#[rustc_clean]
/#[rustc_dirty]
attributes to indicate which things are expected to have changed and which are not. incr.comp.: Create Test Case for Incr. Comp. Hash for enums #36674 is an example issue with a description of how these tests work.#[rustc_if_this_changed]
/#[rustc_then_this_would_need]
and located in src/test/compile-failChanges Needed for Red/Green
Most of the test cases can stay the same also with the new tracking system:
There are some things, however, that should be extended and improved for the red/green system:
Action Items
UPDATE: This bullet point is completely implemented once incr.comp.: Switch to red/green change tracking, remove legacy system. #44901 has landed.
UPDATE 2: I just verified that the current master branch already contains all needed functionality.
Please leave comments below if you think something's missing or if you have any remarks!
cc @nikomatsakis @vitiral
The text was updated successfully, but these errors were encountered: