Added a new kind of test case: the "inline" test
authorSean Callanan <scallanan@apple.com>
Thu, 16 Oct 2014 23:15:22 +0000 (23:15 +0000)
committerSean Callanan <scallanan@apple.com>
Thu, 16 Oct 2014 23:15:22 +0000 (23:15 +0000)
commit816cb3eed4ab84101b9815aa172db96d4d109bf3
tree3be308e36361d536c5740d097b182eb57b51349f
parentbc464ee614b8687fc1608410eb287dc19d13693e
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.

llvm-svn: 219984
lldb/test/lang/c/struct_types/Makefile [deleted file]
lldb/test/lang/c/struct_types/TestStructTypes.py
lldb/test/lang/c/struct_types/cmds.txt [deleted file]
lldb/test/lang/c/struct_types/main.c
lldb/test/lldbinline.py [new file with mode: 0644]