diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2016-10-31 09:54:07 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-10-31 11:09:38 +0000 |
commit | 735e5bb85578dd749d3ccf016b7c08b0f2bb1edf (patch) | |
tree | 0c764801155dbd86ef0ac1f24ec55a0edb343d6f /solenv/qa | |
parent | 77837fb21c6967b0664ecc16e0fc2d37f4584e82 (diff) |
populate library path to gbuildtojson in tests
the test environment clears LD_LIBRARY_PATH as it seems to cause trouble for
make in ASAN. "make gbuildtoide" only runs the gbuildtojson exe, so make sure
it gets the LD_LIBRARY_PATH that was filtered out from the make that starts it.
Change-Id: I69ee0024232092aebcd1e8e11b002d6f7eb55c84
Reviewed-on: https://gerrit.libreoffice.org/30433
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'solenv/qa')
-rw-r--r-- | solenv/qa/python/gbuildtoide.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/qa/python/gbuildtoide.py b/solenv/qa/python/gbuildtoide.py index 4be7f0b76dec..84eb8852c9a0 100644 --- a/solenv/qa/python/gbuildtoide.py +++ b/solenv/qa/python/gbuildtoide.py @@ -28,6 +28,7 @@ def getgbuildtesttools(testcase): makeenvvars = ['MAKEOVERRIDES', 'MAKEFLAGS', 'MAKE_TERMERR', 'MAKE_TERMOUT', 'MAKELEVEL', 'MFLAGS'] def clearmakevars(): if 'LD_LIBRARY_PATH' in os.environ: + os.environ['GBUILDTOJSON_LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH'] del(os.environ['LD_LIBRARY_PATH']) # built with ASAN; prevent that for makeenvvar in makeenvvars: if makeenvvar in os.environ: |