summaryrefslogtreecommitdiff
path: root/json4cpp/tests/thirdparty/Fuzzer/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'json4cpp/tests/thirdparty/Fuzzer/test/unit')
-rw-r--r--json4cpp/tests/thirdparty/Fuzzer/test/unit/lit.cfg7
-rw-r--r--json4cpp/tests/thirdparty/Fuzzer/test/unit/lit.site.cfg.in2
2 files changed, 9 insertions, 0 deletions
diff --git a/json4cpp/tests/thirdparty/Fuzzer/test/unit/lit.cfg b/json4cpp/tests/thirdparty/Fuzzer/test/unit/lit.cfg
new file mode 100644
index 0000000000..0cc31939c5
--- /dev/null
+++ b/json4cpp/tests/thirdparty/Fuzzer/test/unit/lit.cfg
@@ -0,0 +1,7 @@
+import lit.formats
+
+config.name = "LLVMFuzzer-Unittest"
+print config.test_exec_root
+config.test_format = lit.formats.GoogleTest(".", "Unittest")
+config.suffixes = []
+config.test_source_root = config.test_exec_root
diff --git a/json4cpp/tests/thirdparty/Fuzzer/test/unit/lit.site.cfg.in b/json4cpp/tests/thirdparty/Fuzzer/test/unit/lit.site.cfg.in
new file mode 100644
index 0000000000..114daf474b
--- /dev/null
+++ b/json4cpp/tests/thirdparty/Fuzzer/test/unit/lit.site.cfg.in
@@ -0,0 +1,2 @@
+config.test_exec_root = "@CMAKE_CURRENT_BINARY_DIR@"
+lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/unit/lit.cfg")