On 04/06/15 14:30, Ehsan Akhgari wrote:
> There are very good reasons for warnings to not cause tests to fail.  We
> have a lot of tests that are testing failure conditions that are
> expected to warn, because they are failure conditions.

Well, that's why the patch linked above offers a whitelist API, so that
tests can individually decide which families of warnings are either
expected, or ok-for-the-time-being.

[...]

> There are also warnings that were actually meant to be assertions, and
> we should try to convert them to assertions, and that way they will fail
> tests.  That being said, assertion report stack traces in debug builds,
> which is excruciatingly slow, so we have had to switch them to be
> warnings in at least some cases (see bug 756045 for example.)

Are you talking about our weird non-fatal assertions or actual fatal
assertions?

-- 
David Rajchenbach-Teller, PhD
 Performance Team, Mozilla
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to