Add support for "known failures", which match the build name via a regular expression and are attached to test cases as a "known-failure" label.