[lld] r191259 - Try to fix test failure on buildbot.

Rui Ueyama ruiu at google.com
Mon Sep 23 17:47:32 PDT 2013


Author: ruiu
Date: Mon Sep 23 19:47:31 2013
New Revision: 191259

URL: http://llvm.org/viewvc/llvm-project?rev=191259&view=rev
Log:
Try to fix test failure on buildbot.

Modified:
    lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp

Modified: lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp?rev=191259&r1=191258&r2=191259&view=diff
==============================================================================
--- lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp (original)
+++ lld/trunk/unittests/DriverTests/WinLinkDriverTest.cpp Mon Sep 23 19:47:31 2013
@@ -83,7 +83,7 @@ TEST_F(WinLinkParserTest, Mllvm) {
   EXPECT_FALSE(parse("link.exe", "/mllvm:-debug", "a.obj", nullptr));
   const std::vector<const char *> &options = _context.llvmOptions();
   EXPECT_EQ(1U, options.size());
-  EXPECT_EQ("-debug", options[0]);
+  EXPECT_STREQ("-debug", options[0]);
 }
 
 TEST_F(WinLinkParserTest, NoInputFiles) {





More information about the llvm-commits mailing list