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
This commit is contained in:
Daniel Malea
2013-02-19 16:08:57 +00:00
parent a9b732a32a
commit 249287afde
4 changed files with 32 additions and 7 deletions

View File

@@ -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")