Add a sanity check for inline testcases.
authorAdrian Prantl <aprantl@apple.com>
Mon, 26 Feb 2018 22:40:20 +0000 (22:40 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 26 Feb 2018 22:40:20 +0000 (22:40 +0000)
commit87a000dae337789c364ddf03006eeaa6407a6393
tree8b1587c53ccea5ee3878775c6d52c35726bdc5a4
parent6ebb0792b093574d1a700f402ebf25af526d9142
Add a sanity check for inline testcases.

When writing an inline test, there is no way to make sure that any of
the inline commands are actually executed, so this patch adds a sanity
check that at least one breakpoint was hit. This avoids a test with no
breakpoints being hit passing.

Differential Revision: https://reviews.llvm.org/D43694

llvm-svn: 326140
lldb/packages/Python/lldbsuite/test/lang/c/inlines/main.c
lldb/packages/Python/lldbsuite/test/lldbinline.py