diff options
| author | Adrian Prantl <aprantl@apple.com> | 2018-01-31 21:39:00 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2018-01-31 21:39:00 +0000 |
| commit | 7faa9dac84b80a9160512e4e1a14f2cfca66d38a (patch) | |
| tree | f66b8d5acb3cbba9b8fb35fff8f019dc085db6e4 /lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py | |
| parent | 15efa98f6340b3e04d8ccd0358e25fdc822a72f3 (diff) | |
| download | bcm5719-llvm-7faa9dac84b80a9160512e4e1a14f2cfca66d38a.tar.gz bcm5719-llvm-7faa9dac84b80a9160512e4e1a14f2cfca66d38a.zip | |
replace os.mkdirs with lldbutil.mkdir_p (NFC)
llvm-svn: 323917
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py')
| -rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py b/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py index 9692b169754..6812888989b 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py @@ -133,8 +133,7 @@ class ProcessLaunchTestCase(TestBase): err_file_name = "my_working_dir_test.err" my_working_dir_path = self.getBuildArtifact(mywd) - try: os.makedirs(my_working_dir_path) - except: pass + lldbutil.mkdir_p(my_working_dir_path) out_file_path = os.path.join(my_working_dir_path, out_file_name) err_file_path = os.path.join(my_working_dir_path, err_file_name) |

