This new alias takes a comma separated list of prefixes which allows
'--check-prefix=A --check-prefix=B --check-prefix=C' to be written as
'--check-prefixes=A,B,C'.
Depends on D21292 since it reduces the line length of elf_header.s.
Differential D21293
[FileCheck] Add --check-prefixes as a shorthand for multiple --check-prefix options. dsanders on Jun 13 2016, 8:18 AM. Authored by
Details This new alias takes a comma separated list of prefixes which allows Depends on D21292 since it reduces the line length of elf_header.s.
Diff Detail
Event TimelineComment Actions Wow. I am blown away by the sophisticated implementation. :-) So, the MC/Mips test ought to be committed separately (as part of D21292 clearly). With that, LGTM. Comment Actions
I didn't believe it could be that simple.
Yep, it's in here because of the order of the patches in my current series but it looks like this will be committed first so I'll fold that part into D21292.
Makes sense. In addition to the two you mention, I'll also keep the two *-no-match*.txt tests. Most of the tests can falsely pass if only one prefix takes effect so the *-no-match*.txt tests are needed to make sure all the prefixes are being processed.
Thanks Comment Actions Doh! Forgot to say... please document this new option (docs/CommandGuide/FileCheck.rst). |