summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_config.py1
-rw-r--r--tox/config.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 8aa7abd..4bdba50 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -721,6 +721,7 @@ class TestConfigTestEnv:
assert "PATH" in envconfig.passenv
assert "PIP_INDEX_URL" in envconfig.passenv
assert "LANG" in envconfig.passenv
+ assert "LD_LIBRARY_PATH" in envconfig.passenv
assert "A123A" in envconfig.passenv
assert "A123B" in envconfig.passenv
diff --git a/tox/config.py b/tox/config.py
index 092de2a..d68d276 100644
--- a/tox/config.py
+++ b/tox/config.py
@@ -386,7 +386,7 @@ def tox_addoption(parser):
itertools.chain.from_iterable(
[x.split(' ') for x in value]))
- passenv = set(["PATH", "PIP_INDEX_URL", "LANG"])
+ passenv = set(["PATH", "PIP_INDEX_URL", "LANG", "LD_LIBRARY_PATH"])
# read in global passenv settings
p = os.environ.get("TOX_TESTENV_PASSENV", None)