[PATCH] D52036: [Analyzer] Make plist tests less fragile
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 13 17:13:18 PDT 2018
NoQ added a comment.
What do you think about the following approach:
1. Define a `lit` substitution `%diff_plist` that resolves to `diff -u -w -I "<string>/" -I "<string>.:" -I "version" -`.
2. Update these flags in your downstream fork.
It's kinda cool because it'll allow us to test exactly what we want in the exact output that we normally expect ourselves to produce. Step 1 is a good thing to do anyway because it reduces duplication.
https://reviews.llvm.org/D52036
More information about the cfe-commits
mailing list