[Lldb-commits] [PATCH] D42763: Build each testcase variant in its own subdirectory and remove the srcdir lock file
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 31 13:52:28 PST 2018
aprantl created this revision.
aprantl added reviewers: labath, zturner, jingham.
Herald added subscribers: JDevlieghere, eraman.
This patch creates a <test>.dwarf, <test>.dwo, etc., build directory for each testcase variant.
Most importantly, this eliminates the need for the per-test lock file in the source directory.
Tests that are marked as NO_DEBUG_INFO_TESTCASE and build with buildDefault() are built in a <test>.default build directory.
The implementation changes self.mydir to a tuple (test_subdir, test_name). I chose not to rename the variable as to not break anyone's out-of-tree testcases any more than necessary.
It would be awesome if someone could test this on Windows / Linux / Android again.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 26532 bytes
Desc: not available
More information about the lldb-commits