summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-04-05 12:54:27 -0400
committerNico Weber <thakis@chromium.org>2020-04-05 12:56:41 -0400
commitccabe9329857141e0b676951ff89092d7f88bed0 (patch)
tree9cac8c1060024332b3377e912980a754e30bce41 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
parenta58c8a78660896bfe7d5e0ca18b9ab7458dea92b (diff)
clang: Make tests using symlinks more consistent.
Instead of checking if each symlink exists before removing it, remove the whole temp dir housing the symlinks before recreating it. This is a bit shorter, conceptually simpler (in that the first and consecutive test runs have more similar behavior), it's what we're already doing in almost all places where we do it, and it works if the symlink exists but is a dead link (e.g. when it points into the build dir but the build dir is renamed). No intended behavior change.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions