From: Louis Dionne Date: Tue, 14 Apr 2020 20:20:00 +0000 (-0400) Subject: [libc++] run.py: Create directory hierarchy if it does not exist X-Git-Tag: llvmorg-12-init~9064 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec442f09968f7597710b29fac6613843ca7f4961;p=platform%2Fupstream%2Fllvm.git [libc++] run.py: Create directory hierarchy if it does not exist This is useful when replaying tests after the fact and the directories don't exist anymore. --- diff --git a/libcxx/utils/run.py b/libcxx/utils/run.py index 8c3eaeb..7cdf652 100644 --- a/libcxx/utils/run.py +++ b/libcxx/utils/run.py @@ -45,7 +45,7 @@ def main(): # Create the execution directory, and make sure we remove it at the end. try: - os.mkdir(args.execdir) + os.makedirs(args.execdir) # Ensure the file dependencies exist and copy them to the execution directory. for dep in args.dependencies: