mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-04 16:26:46 +00:00
Don't set DYLD_LIBRARY_PATH in the Python environment (which will get passed down to
debugserver) but set it in the debugger settings (which will just get passed down to the target). llvm-svn: 136793
This commit is contained in:
parent
e3b457461a
commit
f169c394ca
@ -13,7 +13,6 @@ blacklist = {'IntegerTypesExprTestCase': 'This test class crashed',
|
||||
}
|
||||
"""
|
||||
|
||||
blacklist = {'STLTestCase': '<rdar://problem/8837118> Crashed while running the entire test suite',
|
||||
'LoadUnloadTestCase' : 'taking down debugserver and causing the whole test suite to hang'
|
||||
blacklist = {'STLTestCase': '<rdar://problem/8837118> Crashed while running the entire test suite'
|
||||
# To skip this test case: ./dotest.py -b blacklist.py -v -w 2> ~/Developer/Log/lldbtest.log
|
||||
}
|
||||
|
@ -115,8 +115,8 @@ class LoadUnloadTestCase(TestBase):
|
||||
self.runCmd("process kill")
|
||||
|
||||
# Try again with the DYLD_LIBRARY_PATH environment variable properly set.
|
||||
os.environ[dylibPath] = new_dir
|
||||
self.addTearDownHook(lambda: os.environ.pop(dylibPath))
|
||||
env_cmd_string = "settings set target.process.env-vars " + dylibPath + "=" + new_dir
|
||||
self.runCmd("env_cmd_string")
|
||||
self.runCmd("run")
|
||||
self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
|
||||
patterns = ["frame #0.*d_function.*at d.c:%d" % self.line_d_function])
|
||||
|
Loading…
x
Reference in New Issue
Block a user