summaryrefslogtreecommitdiffstats
path: root/lldb/test/Unit
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-10-24 10:54:48 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2019-10-24 10:58:22 -0700
commit0c798aa4483e103e67231c279aed00cd16154e33 (patch)
tree34af3ae1261458ae6b77c2e2c931939d6e5698d8 /lldb/test/Unit
parent6c5898ef79f50c9310661d3a860de0091961038a (diff)
downloadbcm5719-llvm-0c798aa4483e103e67231c279aed00cd16154e33.tar.gz
bcm5719-llvm-0c798aa4483e103e67231c279aed00cd16154e33.zip
[CMake] Split logic across test suite subdirectories (NFC)
The top-level CMake file in the test directory can be simplified by moving relevant configuration options into the corresponding subdirectories. Doing so makes it easier to understand what CMake options are needed by the different test suites. Differential revision: https://reviews.llvm.org/D69394
Diffstat (limited to 'lldb/test/Unit')
-rw-r--r--lldb/test/Unit/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/test/Unit/CMakeLists.txt b/lldb/test/Unit/CMakeLists.txt
new file mode 100644
index 00000000000..e9b3d9e35d7
--- /dev/null
+++ b/lldb/test/Unit/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Configure the Unit test suite.
+configure_lit_site_cfg(
+ ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
+ ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
+ MAIN_CONFIG
+ ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py)
+
OpenPOWER on IntegriCloud