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
diff --git a/lldb/test/functionalities/command_script/TestCommandScript.py b/lldb/test/functionalities/command_script/TestCommandScript.py
index bcc87ba..808f46b 100644
--- a/lldb/test/functionalities/command_script/TestCommandScript.py
+++ b/lldb/test/functionalities/command_script/TestCommandScript.py
@@ -44,6 +44,9 @@
# 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 @@
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")