[Lldb-commits] [lldb] r348186 - Skip TestDriverOptions on Windows
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 4 02:56:03 PST 2018
On 03/12/2018 21:55, Jonas Devlieghere via lldb-commits wrote:
> That wouldn't work because we try to create the directory which would
> succeeded in the temp dir. I'd have to be something you don't have
> access to, like the root or some network drive.
>
How about we change the behavior to only create the bottommost
directory? E.g. if the user specifies "/X/Y/Z" as the path, then "/X/Y"
has to exist, and "Z" will be created if not present (i.e. use mkdir,
not mkdir -p). I think this is the behavior most users would expect
anyway (I would be upset if a typo causes lldb to create a whole
hierarchy some place I did not intend), and it will allow to test this
via something like "%t/does_not_exist/repro_dir".
pl
More information about the lldb-commits
mailing list