[Reproducers] Only creaate the bottom-most dir
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 4 Dec 2018 18:16:49 +0000 (18:16 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 4 Dec 2018 18:16:49 +0000 (18:16 +0000)
commitc2820bf23e4a59d16ce9501f1efb52a009a5e237
tree8f643e16e54d60c6e2bbcc30deb34704e456baa9
parentce26c27b2a7fe1c11885223ed0c150859270391b
[Reproducers] Only creaate the bottom-most dir

As Pavel noted on the mailing list we should only create the bottom-most
directory if it doesn't exist. This should also fix the test case on
Windows as we can use lit's temp directory.

llvm-svn: 348289
lldb/lit/Reproducer/TestDriverOptions.test
lldb/source/Utility/Reproducer.cpp