[Lldb-commits] [lldb] r250782 - Adjust TestCompletion.py and TestDumpDynamic.py after recent changes.
Siva Chandra via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 19 18:03:18 PDT 2015
Author: sivachandra
Date: Mon Oct 19 20:03:18 2015
New Revision: 250782
URL: http://llvm.org/viewvc/llvm-project?rev=250782&view=rev
Log:
Adjust TestCompletion.py and TestDumpDynamic.py after recent changes.
Reviewers: zturner, spyffe
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13882
Modified:
lldb/trunk/test/functionalities/completion/TestCompletion.py
lldb/trunk/test/functionalities/data-formatter/dump_dynamic/main.cpp
Modified: lldb/trunk/test/functionalities/completion/TestCompletion.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/completion/TestCompletion.py?rev=250782&r1=250781&r2=250782&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/completion/TestCompletion.py (original)
+++ lldb/trunk/test/functionalities/completion/TestCompletion.py Mon Oct 19 20:03:18 2015
@@ -181,7 +181,7 @@ class CommandLineCompletionTestCase(Test
@no_debug_info_test
def test_settings_set_ta(self):
"""Test that 'settings set ta' completes to 'settings set target.'."""
- self.complete_from_to('settings set ta', 'settings set target.')
+ self.complete_from_to('settings set target.ma', 'settings set target.max-')
@expectedFailureHostWindows("llvm.org/pr24679")
@skipIfFreeBSD # timing out on the FreeBSD buildbot
Modified: lldb/trunk/test/functionalities/data-formatter/dump_dynamic/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/dump_dynamic/main.cpp?rev=250782&r1=250781&r2=250782&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/dump_dynamic/main.cpp (original)
+++ lldb/trunk/test/functionalities/data-formatter/dump_dynamic/main.cpp Mon Oct 19 20:03:18 2015
@@ -30,6 +30,6 @@ int main (int argc, char const *argv[])
//% base = self.frame().FindVariable("base")
//% base.SetPreferDynamicValue(lldb.eDynamicDontRunTarget)
//% base.GetDescription(stream)
- //% if self.TraceOn(): print stream.GetData()
+ //% if self.TraceOn(): print(stream.GetData())
//% self.assertTrue(stream.GetData().startswith("(Derived *"))
}
More information about the lldb-commits
mailing list