forked from OSchip/llvm-project
Disable confirmation prompt in TestProcessLaunch (to avoid hang on Linux once bug is fixed)
llvm-svn: 170603
This commit is contained in:
parent
b99f80dea7
commit
c66cf9e3eb
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue