Disable confirmation prompt in TestProcessLaunch (to avoid hang on Linux once bug is fixed)

llvm-svn: 170603
This commit is contained in:
Daniel Malea 2012-12-19 23:22:11 +00:00
parent b99f80dea7
commit c66cf9e3eb
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@ class ProcessLaunchTestCase(TestBase):
mydir = os.path.join("functionalities", "process_launch")
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
# disable "There is a running process, kill it and restart?" prompt
self.runCmd("settings set auto-confirm true")
self.addTearDownHook(lambda: self.runCmd("settings clear auto-confirm"))
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
def test_io_with_dsym (self):