Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd a script to shrink test-wpt output to only unexpected results #10129
Comments
|
I imagine we'd want a separate kind of logger; cc @jgraham |
|
Yeah, you would want to implement a mozlog formatter. Not having an easy way to tell if a test ran at all, or see log output, seems rather problematic though. My suspicion is that whatever the use case here is, you're trying to solve the wrong problem. |
|
So it seems like you might just want |
|
Is that usable to update expectations too? |
|
No, you still need the raw log for that. Although conceivably someone could perhaps implement log updating based on the error summary in the future. |
|
And does it include unexpected PASS? |
|
Yes (this conversation would maybe be shorter on irc, or by pointing you at https://dxr.mozilla.org/mozilla-central/source/testing/mozbase/mozlog/mozlog/formatters/errorsummary.py ) |
|
(sorry "test failures" was very lax language. I meant "unexpected test results") |
|
Cc @mateon1 who is doing a lot of fuzzing and shrinking. |
|
Never mind, I can't read. |
|
This was more or less done, with @jdm's intermittent stuff. Closing. |
No idea if this issue should live in saltfs, wpt itself or here.
Cc @metajack.