is_up_to_date in compiletest - Rust
Description: Checks whether a particular test/revision is “up-to-date”, meaning that no relevant files/settings have changed since the last time the test succeeded.

Skip to main content

## is_up_to_date

# Function is_up_to_date

Source

    pub(crate) fn is_up_to_date(
        cx: &TestCollectorCx,
        testpaths: &TestPaths,
        aux_props: &AuxProps,
        revision: Option<&str>,
    ) -> bool

Expand description

Checks whether a particular test/revision is “up-to-date”, meaning that no relevant files/settings have changed since the last time the test succeeded.

(This is not very reliable in some circumstances, so the `--force-rerun` flag can be used to ignore up-to-date checking and always re-run tests.)