Rework this code so that it does not trigger a compiler warning. NFC

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219964 91177308-0d34-0410-b5e6-96231b3b80d8
Only call RemovePersistentVariable on expr_result if that shared
pointer contains something.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219966 91177308-0d34-0410-b5e6-96231b3b80d8
I see this test case crash - skip for now

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219970 91177308-0d34-0410-b5e6-96231b3b80d8
This test actually works alright - we were just checking for the wrong string

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219971 91177308-0d34-0410-b5e6-96231b3b80d8
Associate a bug tracking ID with this test case

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219972 91177308-0d34-0410-b5e6-96231b3b80d8
Some more failure to bug tracking

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219973 91177308-0d34-0410-b5e6-96231b3b80d8
Fix this test case to actually work - it was relying on a certain 'po' output which wasn't occurring


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219978 91177308-0d34-0410-b5e6-96231b3b80d8
Add a test for the -b (batch mode) option to the lldb driver.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219979 91177308-0d34-0410-b5e6-96231b3b80d8
This test needs the SB headers to make sense

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219980 91177308-0d34-0410-b5e6-96231b3b80d8
Some more test marking

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219981 91177308-0d34-0410-b5e6-96231b3b80d8
The number '5' triggers a bug unrelated to LLDB, and is not instrumental to this test in any way. Use another, randomly chosen, number to make the test pass again and provide useful actionable feedback about things that truly matter

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219982 91177308-0d34-0410-b5e6-96231b3b80d8
Change a use of mktemp() to mkstemp() for better security.
We have two more uses of mktemp still in the source base
but they'll take a little more consideration.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219983 91177308-0d34-0410-b5e6-96231b3b80d8
Added a new kind of test case: the "inline" test
case.  This test case style attempts to shed all
of the boilerplate that is required for test
cases, and let 80% of test cases use a much terser
syntax.

Inline testcases have much simplified python files
(the corresponding .py file should contain two
lines of code) and require no Makefile, because the
Makefile is generated automatically.  Breakpoints
are set automatically and the indicated breakpoint
actions (specified after a magic //% comment) are
executed when the breakpoint is hit.

All other testcases are unaffected.

One thing I'm not really happy with yet is the way
multiple actions for the same line are specified.
I'm going to use lang/c/struct_types as a guinea
pig to develop this further.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219984 91177308-0d34-0410-b5e6-96231b3b80d8
Split this test case to handle each literal kind uniquely

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219985 91177308-0d34-0410-b5e6-96231b3b80d8
Attach a bug number to these failures

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219986 91177308-0d34-0410-b5e6-96231b3b80d8
Made multi-line test case actions possible in
the inline test cases.  This makes them much
more readable.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220001 91177308-0d34-0410-b5e6-96231b3b80d8
Add a few more bug IDs for x'fail test cases

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220003 91177308-0d34-0410-b5e6-96231b3b80d8
Don't enable the log here. It was just me debugging

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220011 91177308-0d34-0410-b5e6-96231b3b80d8
Making all @expectedFailure markers take an explicit bugnumber annotation. This used to be optional, but that makes it harder to track what tests are failing for what reason. So, make it mandatory, in the form of refusing to run the test suite if annotations are missing

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220012 91177308-0d34-0410-b5e6-96231b3b80d8
Put #if 0 blocks around three sections of code that are intentionally
unreachable so we don't get warnings about them.

Completely initialize a structure instead of leaving some of its fields
potentially indeterminate (although in reality they would all be set 
before use -- but the compiler warning doesn't know that).

clang warning.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220017 91177308-0d34-0410-b5e6-96231b3b80d8