HomePhabricator

Fix a couple of more tests to not create files in the source tree

Description

Fix a couple of more tests to not create files in the source tree

Summary:
These were not being flaky, but they're still making the tree dirty.

These tests were using lldbutil.append_to_process_working_directory to
derive the file path so I fix them by modifying the function to return
the build directory for local tests.

Technically, now the path returned by this function does not point to
the process working directory for local tests, but I think it makes
sense to keep the function name, as I think we should move towards
launching the process in the build directory (and I intend to change
this for the handful of inferiors that actually care about their PWD,
for example because they need to create files there).

Reviewers: davide, aprantl

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D43506

Details

Committed
labathFeb 21 2018, 7:33 AM
Differential Revision
D43506: Fix a couple of more tests to not create files in the source tree
Parents
rL325689: [SLP] Fix test checks, NFC.
Branches
Unknown
Tags
Unknown