Automatically inserted --allow-unused-prefixes=true for tests that are
still failing.
Added a FIXME above each line where this was inserted.
RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-October/146162.html
Automatically inserted --allow-unused-prefixes=true for tests that are
still failing.
Added a FIXME above each line where this was inserted.
RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-October/146162.html
FYI - I realize the change is enormous. I don't necessarily mean to land it as-is, we can chunk it by directories and iteratively update this as those land.
Maybe one way to do this is to do what @RKSimon suggests in the D90281, and to enable it on a per-directory basis using lit.local.cfg. That would potentially require changing the "0 or 1" occurrences limitation of the option, in favour of "last one wins" (or first one). Then, you make the change in the lit.local.cfg, flipping the default in each directory as you go. Eventually, once all tests that need it are covered, you can just change the default in FileCheck itself. How does that sound?
I haven't tried that yet. @RKSimon's case was that the folder was fixed, and we'd want to stop the bleeding there. Now, thinking more about it: because FileCheck won't accept more than one occurrence of --allow-unused-prefixes, if a directory has cases where we want to allow duplicates, we'd probably want lit.local.cfg to do 2 things:
I'm not very versed with lit.local.cfg - does the above capture what you imagined? (@RKSimon too)
because FileCheck won't accept more than one occurrence of --allow-unused-prefixes
Perhaps this is a fixable issue?