summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/process/io/TestProcessIO.py
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-02-19 16:08:57 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-02-19 16:08:57 +0000
commit249287afdea3bb7761d1f3e93fcf3a3b5bc8d18e (patch)
treefb95ec034e532e57b72fd14953024d164819c02a /lldb/test/python_api/process/io/TestProcessIO.py
parenta9b732a32ad666cbc2bdd2b843d77c1c15576878 (diff)
downloadbcm5719-llvm-249287afdea3bb7761d1f3e93fcf3a3b5bc8d18e.tar.gz
bcm5719-llvm-249287afdea3bb7761d1f3e93fcf3a3b5bc8d18e.zip
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/python_api/process/io/TestProcessIO.py')
-rw-r--r--lldb/test/python_api/process/io/TestProcessIO.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/python_api/process/io/TestProcessIO.py b/lldb/test/python_api/process/io/TestProcessIO.py
index 4d6a0221d3e..1096bce85a5 100644
--- a/lldb/test/python_api/process/io/TestProcessIO.py
+++ b/lldb/test/python_api/process/io/TestProcessIO.py
@@ -35,7 +35,9 @@ class ProcessIOTestCase(TestBase):
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."
OpenPOWER on IntegriCloud