L. David Baron writes: >> On 20/11/14 17:56, Boris Zbarsky wrote: >> > Ah, we can't. We can whitelist the number of assertions in a mochitest >> > (or a number range if the number is not quite stable), but not the text >> > of the assertion. > > On Thursday 2014-11-20 18:05 +0100, David Rajchenbach-Teller wrote: >> I believe that we can provide something less fragile than that. > > It's not all that fragile, since most tests don't have known > assertions, so in that vast majority of tests, we have test coverage > of regressions of assertion counts. > > This covers reftests, crashtests, and all mochitests except for > mochitest-browser-chrome (bug 847275 covers doing it there).
runcppunittests.py, runxpcshelltests.py, and rungtests.py use XPCOM_DEBUG_BREAK=stack-and-abort so we should have coverage there too. When web-platform-tests run with debug builds, we can do the same there because known crashes can be annotated in those tests. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform