aboutsummaryrefslogtreecommitdiff
path: root/test/fuzzer/unit/lit.site.cfg.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzzer/unit/lit.site.cfg.in')
-rw-r--r--test/fuzzer/unit/lit.site.cfg.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/fuzzer/unit/lit.site.cfg.in b/test/fuzzer/unit/lit.site.cfg.in
new file mode 100644
index 000000000000..bab2824e442b
--- /dev/null
+++ b/test/fuzzer/unit/lit.site.cfg.in
@@ -0,0 +1,9 @@
+@LIT_SITE_CFG_IN_HEADER@
+
+config.name = "LLVMFuzzer-Unittest"
+# Load common config for all compiler-rt unit tests.
+lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")
+
+config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@",
+ "lib", "fuzzer", "tests")
+config.test_source_root = config.test_exec_root