compiletest

Function is_up_to_date

source
pub(crate) fn is_up_to_date(
    cx: &TestCollectorCx,
    testpaths: &TestPaths,
    props: &EarlyProps,
    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.)