Note: this only affects you if you write tests in the
ipc/ipdl/test/ipdl/error/ directory.

In bug 1319620, I added checking of expected failures for IPDL error unit
tests. This will ensure that changes like renaming IPDL keywords won't make
the error tests silently start failing for the wrong reason.

Every test in error/ must contain one or more line starting with "//error:"
like the following:

//error: |manages| declaration in protocol `ForgottenManager' does not
match any |manager| declaration in protocol `ManageeForgot'

The stderr of the program must contain this output (minus the "//").
Multiple annotations are allowed, and all of them must be present in the
stderr.

Andrew
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to