Skip to content

Commit

Permalink
Work around test failure due to new aslr default
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-prantl committed Apr 15, 2024
1 parent 206acf7 commit 466017c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def test_diagnose_dereference_function_return(self):
TestBase.setUp(self)
self.build()
exe = self.getBuildArtifact("a.out")
# FIXME: This default changed in lldbtest.py and this test
# seems to rely on having it turned off.
self.runCmd("settings set target.disable-aslr true")
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
self.runCmd("run", RUN_SUCCEEDED)
self.expect("thread list", "Thread should be stopped", substrs=["stopped"])
Expand Down

0 comments on commit 466017c

Please sign in to comment.