Add dont_fail option to not fail entire test on a single failure

This commit is contained in:
Chris Freehill
2019-02-09 12:18:49 -06:00
والد 4ab27528be
کامیت dd450e963c
6فایلهای تغییر یافته به همراه38 افزوده شده و 7 حذف شده
+6 -1
مشاهده پرونده
@@ -551,7 +551,12 @@ static rsmi_status_t get_frequencies(amd::smi::DevInfoTypes type,
}
}
assert(f->current < f->num_supported);
// Some older drivers will not have the current frequency set
// assert(f->current < f->num_supported);
if (f->current >= f->num_supported) {
return RSMI_STATUS_NOT_SUPPORTED;
}
return RSMI_STATUS_SUCCESS;
CATCH
}