[llvm] r276966 - R276957 broke bot clang-ppc64be-linux-multistage, try to fix it.
Zijiao Ma via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 00:29:45 PDT 2016
Author: zijiaoma
Date: Thu Jul 28 02:29:45 2016
New Revision: 276966
URL: http://llvm.org/viewvc/llvm-project?rev=276966&view=rev
Log:
R276957 broke bot clang-ppc64be-linux-multistage,try to fix it.
Modified:
llvm/trunk/unittests/Support/TargetParserTest.cpp
Modified: llvm/trunk/unittests/Support/TargetParserTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/TargetParserTest.cpp?rev=276966&r1=276965&r2=276966&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/TargetParserTest.cpp (original)
+++ llvm/trunk/unittests/Support/TargetParserTest.cpp Thu Jul 28 02:29:45 2016
@@ -241,8 +241,8 @@ TEST(TargetParserTest, ARMArchExtFeature
{"xscale", "noxscale", nullptr, nullptr}};
for (unsigned i = 0; i < array_lengthof(ArchExt); i++) {
- EXPECT_EQ(ArchExt[i][2], ARM::getArchExtFeature(ArchExt[i][0]));
- EXPECT_EQ(ArchExt[i][3], ARM::getArchExtFeature(ArchExt[i][1]));
+ EXPECT_STREQ(ArchExt[i][2], ARM::getArchExtFeature(ArchExt[i][0]));
+ EXPECT_STREQ(ArchExt[i][3], ARM::getArchExtFeature(ArchExt[i][1]));
}
}
@@ -528,8 +528,8 @@ TEST(TargetParserTest, AArch64ArchExtFea
{"ras", "noras", "+ras", "-ras"}};
for (unsigned i = 0; i < array_lengthof(ArchExt); i++) {
- EXPECT_EQ(ArchExt[i][2], AArch64::getArchExtFeature(ArchExt[i][0]));
- EXPECT_EQ(ArchExt[i][3], AArch64::getArchExtFeature(ArchExt[i][1]));
+ EXPECT_STREQ(ArchExt[i][2], AArch64::getArchExtFeature(ArchExt[i][0]));
+ EXPECT_STREQ(ArchExt[i][3], AArch64::getArchExtFeature(ArchExt[i][1]));
}
}
More information about the llvm-commits
mailing list