[debuginfo-tests] be79db9 - [Dexter] Continue sprinking no-location fixes
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 06:57:53 PDT 2019
Author: Jeremy Morse
Date: 2019-11-01T13:57:52Z
New Revision: be79db93fbd13877ccefb9a7edbabd0d490d86c4
URL: https://github.com/llvm/llvm-project/commit/be79db93fbd13877ccefb9a7edbabd0d490d86c4
DIFF: https://github.com/llvm/llvm-project/commit/be79db93fbd13877ccefb9a7edbabd0d490d86c4.diff
LOG: [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.
Added:
Modified:
debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
Removed:
################################################################################
diff --git a/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py b/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
index 769c214b7096..24ef4ccede8b 100644
--- a/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
+++ b/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
@@ -168,7 +168,7 @@ def eval(self, step_collection):
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):
More information about the llvm-commits
mailing list