The LLDB_TEST_BUILD_DIRECTORY variable only matters to the different test suites. Therefore they belong in test/CMakeLists.txt rather than the top-level CMakeLists.txt.
The LLDB_TEST_BUILD_DIRECTORY variable only matters to the different test suites. Therefore they belong in test/CMakeLists.txt rather than the top-level CMakeLists.txt.