[llvm] r375014 - [Remarks] Fix unit test by only checking for the path
Francis Visoiu Mistrih via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 16 09:35:09 PDT 2019
Author: thegameg
Date: Wed Oct 16 09:35:09 2019
New Revision: 375014
URL: http://llvm.org/viewvc/llvm-project?rev=375014&view=rev
Log:
[Remarks] Fix unit test by only checking for the path
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/39536/steps/ninja%20check%201/logs/FAIL%3A%20LLVM-Unit%3A%3AYAMLRemarks.ParsingBadMeta
Modified:
llvm/trunk/unittests/Remarks/YAMLRemarksParsingTest.cpp
Modified: llvm/trunk/unittests/Remarks/YAMLRemarksParsingTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Remarks/YAMLRemarksParsingTest.cpp?rev=375014&r1=375013&r2=375014&view=diff
==============================================================================
--- llvm/trunk/unittests/Remarks/YAMLRemarksParsingTest.cpp (original)
+++ llvm/trunk/unittests/Remarks/YAMLRemarksParsingTest.cpp Wed Oct 16 09:35:09 2019
@@ -720,14 +720,13 @@ TEST(YAMLRemarks, ParsingBadMeta) {
"\0\0\0\0\0\0\0\0"
"/path/",
30),
- "'/path/': No such file or directory",
- CmpType::Contains);
+ "'/path/'", CmpType::Contains);
parseExpectErrorMeta(StringRef("REMARKS\0"
"\0\0\0\0\0\0\0\0"
"\0\0\0\0\0\0\0\0"
"/path/",
30),
- "'/baddir/path/': No such file or directory",
- CmpType::Contains, StringRef("/baddir/"));
+ "'/baddir/path/'", CmpType::Contains,
+ StringRef("/baddir/"));
}
More information about the llvm-commits
mailing list