summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.in
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/scudo/standalone/unit/lit.site.cfg.in')
-rw-r--r--compiler-rt/test/scudo/standalone/unit/lit.site.cfg.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.in b/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.in
new file mode 100644
index 00000000000..ef34739b807
--- /dev/null
+++ b/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.in
@@ -0,0 +1,12 @@
+@LIT_SITE_CFG_IN_HEADER@
+
+# Load common config for all compiler-rt unit tests.
+lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")
+
+# Setup config name.
+config.name = 'ScudoStandalone-Unit'
+
+# Setup test source and exec root.
+# For unit tests, we define it as build directory with unit tests.
+config.test_exec_root = "@COMPILER_RT_BINARY_DIR@/lib/scudo/standalone/tests"
+config.test_source_root = config.test_exec_root
OpenPOWER on IntegriCloud