The current FileCheck test output is very difficult to read, which makes
adding new tests to SARIF output rather painful. I'd ideally like to
replace this test with a far more robust form of JSON testing, but am
unable to allocate resources to paying down the tech debt at present.
Details
- Reviewers
aaron.ballman shafik erichkeane
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/Frontend/sarif-diagnostics.cpp | ||
---|---|---|
31 | Further thoughts: everything is common, it's a case of where it's output that's not the same. I think with this in mind I should absolutely change COMMON to STDERR, and possibly CHECK to SARIF. |
removes something from a future commit
This should be the final alteration pre-review.
LGTM, this is incremental progress. Hopefully we won't be adding too many more RUN lines to this file though (sticking too many tests into one file is also tech debt).
Thanks! 100% of the RUN lines I intend to add are bug regressions, but there will be more RUN lines in the future.
This was split out for future tests where the COMMON stuff isn't written to file. Perhaps I should check it in as STDERR?