FileCheck error messages embedding the name of the FileCheck tool vary
in the casing of that name. On Unix it displays 'FileCheck' but on some
Windows system at least it shows 'filecheck.exe' as can be seen in the
defines.txt failure logs available at [1]. This changes the testcase to
only check the error message and leave out the program name.
Details
Details
- Reviewers
jdenny probinson jhenderson
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 27804 Build 27803: arc lint + arc unit
Event Timeline
llvm/test/FileCheck/defines.txt | ||
---|---|---|
27 | Maybe we just don't need to test that "FileCheck" appears in the error message at all? I'm not really convinced it belongs in the error message anyway, but that's a separate issue. |
llvm/test/FileCheck/defines.txt | ||
---|---|---|
27 | I was wondering about that myself. So what about: ; ERRCLIEQ2: for the -D option: requires a value! |
Comment Actions
I'm about to leave the office for the day, but as long as you remove the portion of the check as suggested, I'm happy to give this an LGTM now.
llvm/test/FileCheck/defines.txt | ||
---|---|---|
27 | Yes, exactly. |
Comment Actions
Someone beat me to it overnight and went for my initial approach. Is it worth a separate commit to stop testing for FileCheck's name in the error string as suggested or should I abandon this revision?
Maybe we just don't need to test that "FileCheck" appears in the error message at all? I'm not really convinced it belongs in the error message anyway, but that's a separate issue.