[Lldb-commits] [lldb] r243342 - Fix test suite. For now we can't disable C++ for expressions since the return value is returned as a reference and this test fails on MacOSX.

Greg Clayton gclayton at apple.com
Mon Jul 27 16:02:14 PDT 2015


Author: gclayton
Date: Mon Jul 27 18:02:14 2015
New Revision: 243342

URL: http://llvm.org/viewvc/llvm-project?rev=243342&view=rev
Log:
Fix test suite. For now we can't disable C++ for expressions since the return value is returned as a reference and this test fails on MacOSX.


Modified:
    lldb/trunk/test/expression_command/options/TestExprOptions.py

Modified: lldb/trunk/test/expression_command/options/TestExprOptions.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/options/TestExprOptions.py?rev=243342&r1=243341&r2=243342&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/options/TestExprOptions.py (original)
+++ lldb/trunk/test/expression_command/options/TestExprOptions.py Mon Jul 27 18:02:14 2015
@@ -69,7 +69,7 @@ class ExprOptionsTestCase(TestBase):
             self.DebugSBValue(val)
 
             # Make sure it still works if language is set to ObjC:
-            options.SetLanguage(lldb.eLanguageTypeObjC)
+            options.SetLanguage(lldb.eLanguageTypeObjC_plus_plus)
             val = frame.EvaluateExpression('id my_id = 0; my_id', options)
             self.assertTrue(val.IsValid())
             self.assertTrue(val.GetError().Success())





More information about the lldb-commits mailing list