summaryrefslogtreecommitdiff
path: root/test/xray/Unit/lit.site.cfg.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/xray/Unit/lit.site.cfg.in')
-rw-r--r--test/xray/Unit/lit.site.cfg.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/xray/Unit/lit.site.cfg.in b/test/xray/Unit/lit.site.cfg.in
index 1ebc7b9ec..75ea8889b 100644
--- a/test/xray/Unit/lit.site.cfg.in
+++ b/test/xray/Unit/lit.site.cfg.in
@@ -10,3 +10,7 @@ config.name = 'XRay-Unit'
config.test_exec_root = "@COMPILER_RT_BINARY_DIR@/lib/xray/tests"
config.test_source_root = config.test_exec_root
+
+# Do not patch the XRay unit tests pre-main, and also make the error logging
+# verbose to get a more accurate error logging mechanism.
+config.environment['XRAY_OPTIONS'] = 'patch_premain=false verbose=1'