From be79db93fbd13877ccefb9a7edbabd0d490d86c4 Mon Sep 17 00:00:00 2001 From: Jeremy Morse Date: Fri, 1 Nov 2019 13:56:31 +0000 Subject: [PATCH] [Dexter] Continue sprinking no-location fixes Example failure: http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/3255/testReport/junit/debuginfo-tests/dexter-tests/asan_c/ The tests themselves seem to be working, it's just unexplored paths within dexter that are flaking out. --- debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py b/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py index 769c214..24ef4cc 100644 --- a/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py +++ b/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py @@ -168,7 +168,7 @@ class DexExpectWatchBase(CommandBase): for step in step_collection.steps: loc = step.current_location - if (loc and os.path.exists(loc.path) and + if (loc.path and os.path.exists(loc.path) and os.path.exists(self.path) and os.path.samefile(loc.path, self.path) and loc.lineno in self.line_range): -- 2.7.4