Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: unittests/Bitcode/NaClAbbrevErrorTests.cpp

Issue 986453002: Additional clean ups on errors in bitcode parsing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Fix comment. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Bitcode/NaCl/Reader/NaClBitstreamReader.cpp ('k') | unittests/Bitcode/NaClObjDumpTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unittests/Bitcode/NaClAbbrevErrorTests.cpp
diff --git a/unittests/Bitcode/NaClAbbrevErrorTests.cpp b/unittests/Bitcode/NaClAbbrevErrorTests.cpp
index 56b3c2f45cd332902b350e4b1d3aacd260ef6cae..fbe18bc3c0038a05b001fc500b7381ffffa086cc 100644
--- a/unittests/Bitcode/NaClAbbrevErrorTests.cpp
+++ b/unittests/Bitcode/NaClAbbrevErrorTests.cpp
@@ -79,7 +79,7 @@ TEST(MyDeathNaClAbbrevErrorTests, BadAbbreviationIndex) {
EXPECT_DEATH(
DumpMunger.runTest("Bad abbreviation index 4",
AbbrevIndex4, array_lengthof(AbbrevIndex4)),
- ".*Error\\(35\\:0\\)\\: Invalid abbreviation \\# 4 defined for record.*");
+ ".*Fatal\\(35\\:0\\)\\: Invalid abbreviation \\# 4 defined for record.*");
// Test that bitcode reader reports problem correctly.
NaClParseBitcodeMunger Munger(BitcodeRecords,
@@ -87,7 +87,7 @@ TEST(MyDeathNaClAbbrevErrorTests, BadAbbreviationIndex) {
EXPECT_DEATH(
Munger.runTest("Bad abbreviation index",
AbbrevIndex4, array_lengthof(AbbrevIndex4), true),
- ".*Error\\(35\\:0\\)\\: Invalid abbreviation \\# 4 defined for record.*");
+ ".*Fatal\\(35\\:0\\)\\: Invalid abbreviation \\# 4 defined for record.*");
}
} // end of anonymous namespace.
« no previous file with comments | « lib/Bitcode/NaCl/Reader/NaClBitstreamReader.cpp ('k') | unittests/Bitcode/NaClObjDumpTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698