diff options
| author | Daniel Malea <daniel.malea@intel.com> | 2013-02-19 16:08:57 +0000 |
|---|---|---|
| committer | Daniel Malea <daniel.malea@intel.com> | 2013-02-19 16:08:57 +0000 |
| commit | 249287afdea3bb7761d1f3e93fcf3a3b5bc8d18e (patch) | |
| tree | fb95ec034e532e57b72fd14953024d164819c02a /lldb/test/functionalities/command_script/TestCommandScript.py | |
| parent | a9b732a32ad666cbc2bdd2b843d77c1c15576878 (diff) | |
Minor test runner improvemenst
- rework the way SBDebugger.SetAsync() is used to avoid side effects (reset original value at TearDownHook)
- refactor expectedFailureClang (and add expectedFailureGcc decorator)
- mark TestChangeValueAPI.py as expectedFailureGcc due to PR-15039
llvm-svn: 175523
Diffstat (limited to 'lldb/test/functionalities/command_script/TestCommandScript.py')
| -rw-r--r-- | lldb/test/functionalities/command_script/TestCommandScript.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/test/functionalities/command_script/TestCommandScript.py b/lldb/test/functionalities/command_script/TestCommandScript.py index bcc87ba062a4..808f46b8046b 100644 --- a/lldb/test/functionalities/command_script/TestCommandScript.py +++ b/lldb/test/functionalities/command_script/TestCommandScript.py @@ -44,6 +44,9 @@ class CmdPythonTestCase(TestBase): # Execute the cleanup function during test case tear down. self.addTearDownHook(cleanup) + # Interact with debugger in synchronous mode + self.setAsync(False) + # We don't want to display the stdout if not in TraceOn() mode. if not self.TraceOn(): self.HideStdout() @@ -106,7 +109,7 @@ class CmdPythonTestCase(TestBase): self.expect("tell_async", substrs = ['running async']) self.expect("tell_curr", - substrs = ['I am running','sync']) + substrs = ['I am running sync']) self.runCmd("command script clear") |
