summaryrefslogtreecommitdiffstats
path: root/lldb/test/API
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-12-04 16:43:19 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-12-04 16:49:11 -0800
commitacda2bc0adf62d9e54bf6d284f91e6cfa5b3cc6e (patch)
treee6bb6d5f07b82673cbeace361f845570c8eef931 /lldb/test/API
parentdfe9a7943bf7a926e51b319a2c2f73e4b4b4cf43 (diff)
downloadbcm5719-llvm-acda2bc0adf62d9e54bf6d284f91e6cfa5b3cc6e.tar.gz
bcm5719-llvm-acda2bc0adf62d9e54bf6d284f91e6cfa5b3cc6e.zip
[lldb/Reproducers] Propagate LLDB_CAPTURE_REPRODUCER to the test suite
Diffstat (limited to 'lldb/test/API')
-rw-r--r--lldb/test/API/lit.cfg.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py
index 06125a1aaed..9b1c3c12f17 100644
--- a/lldb/test/API/lit.cfg.py
+++ b/lldb/test/API/lit.cfg.py
@@ -54,6 +54,11 @@ if config.shared_libs:
lit_config.warning("unable to inject shared library path on '{}'".format(
platform.system()))
+# Propagate LLDB_CAPTURE_REPRODUCER
+if 'LLDB_CAPTURE_REPRODUCER' in os.environ:
+ config.environment['LLDB_CAPTURE_REPRODUCER'] = os.environ[
+ 'LLDB_CAPTURE_REPRODUCER']
+
# Clean the module caches in the test build directory. This is necessary in an
# incremental build whenever clang changes underneath, so doing it once per
# lit.py invocation is close enough.
OpenPOWER on IntegriCloud