[lldb] Remove ScriptInterpreterLuaTest.Plugin unittest
authorPavel Labath <pavel@labath.sk>
Sat, 27 Mar 2021 20:21:30 +0000 (21:21 +0100)
committerPavel Labath <pavel@labath.sk>
Tue, 30 Mar 2021 06:48:56 +0000 (08:48 +0200)
This test is not useful as the functions it's testing are just returning
a constant. It also fails in unoptimized builds as it's comparing
character strings by address.

lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp

index 3b7fbeb..e4aebfb 100644 (file)
@@ -43,12 +43,6 @@ public:
 };
 } // namespace
 
-TEST_F(ScriptInterpreterTest, Plugin) {
-  EXPECT_EQ(ScriptInterpreterLua::GetPluginNameStatic(), "script-lua");
-  EXPECT_EQ(ScriptInterpreterLua::GetPluginDescriptionStatic(),
-            "Lua script interpreter");
-}
-
 TEST_F(ScriptInterpreterTest, ExecuteOneLine) {
   DebuggerSP debugger_sp = Debugger::CreateInstance();
   ASSERT_TRUE(debugger_sp);