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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user