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/python_api/process/io/TestProcessIO.py b/lldb/test/python_api/process/io/TestProcessIO.py
index 4d6a022..1096bce 100644
--- a/lldb/test/python_api/process/io/TestProcessIO.py
+++ b/lldb/test/python_api/process/io/TestProcessIO.py
@@ -35,7 +35,9 @@
target = self.dbg.CreateTarget(self.exe)
- self.dbg.SetAsync(True)
+ # Perform synchronous interaction with the debugger.
+ self.setAsync(True)
+
process = target.LaunchSimple(None, None, os.getcwd())
if self.TraceOn():
print "process launched."