summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2019-11-01 13:56:31 +0000
committerJeremy Morse <jeremy.morse@sony.com>2019-11-01 13:57:52 +0000
commitbe79db93fbd13877ccefb9a7edbabd0d490d86c4 (patch)
tree8f484341d85fe77b89393095e640b06afb2a4b3e /debuginfo-tests
parent0aed36d261d38c8dbc98bc52be26189e0ce57e30 (diff)
downloadbcm5719-llvm-be79db93fbd13877ccefb9a7edbabd0d490d86c4.tar.gz
bcm5719-llvm-be79db93fbd13877ccefb9a7edbabd0d490d86c4.zip
[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.
Diffstat (limited to 'debuginfo-tests')
-rw-r--r--debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py b/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
index 769c214b709..24ef4ccede8 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):
OpenPOWER on IntegriCloud