summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-10-26 15:21:32 +0200
committerMichael Stahl <mstahl@redhat.com>2016-10-26 15:23:06 +0200
commit5ac920be30928fca515a1a393ba1b2847c12b07e (patch)
treeb31a27cb5449dd0f3d7aa446ab06f6932d03a0ec /solenv
parent87c28ddabc5c0dcbee8f15d8d9d2e7a75750b975 (diff)
solenv: don't run make with LD_LIBRARY_PATH set
In a build with -fsanitize=address, this fails with: Change-Id: Ida0d4445d7f829545b493e9dd4c2c4ef33960850 make: symbol lookup error: instdir/program/libfreebl3.so: undefined symbol: __asan_option_detect_stack_use_after_return
Diffstat (limited to 'solenv')
-rw-r--r--solenv/qa/python/gbuildtoide.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/qa/python/gbuildtoide.py b/solenv/qa/python/gbuildtoide.py
index af2014d11342..4de079e85c55 100644
--- a/solenv/qa/python/gbuildtoide.py
+++ b/solenv/qa/python/gbuildtoide.py
@@ -28,6 +28,8 @@ class CheckGbuildToIde(unittest.TestCase):
def test_gbuildtoide(self):
os.chdir(os.path.join(os.environ['SRCDIR'], 'solenv', 'qa', 'python', 'selftest'))
+ # make may find instdir/program/libfreebl3.so and fall over if that was
+ del(os.environ['LD_LIBRARY_PATH']) # built with ASAN; prevent that
make = os.environ['MAKE']
subprocess.check_call([make, 'gbuildtoide', 'WORKDIR=%s' % self.tempworkmixed])
jsonfiles = os.listdir(os.path.join(self.tempwork, 'GbuildToIde', 'Library'))