Preprocess the file before looking for expected-error substrings.
This helps in tests which have multiple RUN lines and define a macro in them.
Add known failures section.
Add to cmake.