From 19ab58307ebaa8af0dd476362a55f2e2f824b764 Mon Sep 17 00:00:00 2001 From: Zijiao Ma Date: Thu, 28 Jul 2016 07:29:45 +0000 Subject: [PATCH] R276957 broke bot clang-ppc64be-linux-multistage,try to fix it. llvm-svn: 276966 --- unittests/Support/TargetParserTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unittests/Support/TargetParserTest.cpp b/unittests/Support/TargetParserTest.cpp index d950abb9ffe..420e742c5c8 100644 --- a/unittests/Support/TargetParserTest.cpp +++ b/unittests/Support/TargetParserTest.cpp @@ -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, AArch64ArchExtFeature) { {"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])); } }