Skip up-to-date checking for tests that are already ignored
This commit is contained in:
parent
c0c37cafdc
commit
84861fa765
1 changed files with 4 additions and 1 deletions
|
|
@ -907,7 +907,10 @@ fn make_test(cx: &TestCollectorCx, collector: &mut TestCollector, testpaths: &Te
|
|||
|
||||
// If a test's inputs haven't changed since the last time it ran,
|
||||
// mark it as ignored so that the executor will skip it.
|
||||
if !cx.config.force_rerun && is_up_to_date(cx, testpaths, &early_props, revision) {
|
||||
if !desc.ignore
|
||||
&& !cx.config.force_rerun
|
||||
&& is_up_to_date(cx, testpaths, &early_props, revision)
|
||||
{
|
||||
desc.ignore = true;
|
||||
// Keep this in sync with the "up-to-date" message detected by bootstrap.
|
||||
// FIXME(Zalathar): Now that we are no longer tied to libtest, we could
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue