llvm-project/lldb/test
Johnny Chen 47ceb03210 Add a utility function to lldbtest.py to return the line number of a matched string
within a file.  This is to be used within the test case to avoid hardcoded line number.

array_types/TestArrayTypes.py is modified first to use this pattern.  Other test modules
to follow.

rdar://problem/8537816
Testsuite: don't set breakpoints by exact file & line number

llvm-svn: 116270
2010-10-11 23:52:19 +00:00
..
array_types Add a utility function to lldbtest.py to return the line number of a matched string 2010-10-11 23:52:19 +00:00
attic Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
bitfields Clean up the StateType and StopReason enums now that they reside in the lldb module. 2010-10-07 16:51:56 +00:00
breakpoint_command Wrap the rest of file reading operations inside a with block and convert a assertTrue() 2010-10-08 22:10:42 +00:00
breakpoint_locations Modification required to test clang, gcc, and llvm-gcc. 2010-09-30 22:11:33 +00:00
class_static A few modifications to the class arrays test case. 2010-09-13 02:31:18 +00:00
class_types Move the enum to string utility functions from lldbtest.py to lldbuti.py and 2010-10-07 22:15:58 +00:00
command_source Changed the test case class names to be noun-like instead of verb-like. 2010-09-01 19:59:58 +00:00
conditional_break Update do_conditional_break() method impl to use all lldb Python APIs. 2010-10-08 22:51:03 +00:00
dead-strip The 'thread list' command no longer displays the file:lineno after the recent check-in. 2010-10-04 16:23:16 +00:00
enum_types Removed the @expectedFailure decorator for test_with_dwarf() test case. It has 2010-09-15 16:59:20 +00:00
example Changed the test case class names to be noun-like instead of verb-like. 2010-09-01 19:59:58 +00:00
foundation Make the test module with unique name instead of just the generic name TestDisassembly. 2010-10-05 19:27:32 +00:00
function_types Remove file:lineno from the expected substrings. Matching 'a.out`string_not_empty', i.e., 2010-10-04 16:38:12 +00:00
global_variables Changed 'frame variable' output to match '(const char *)' instead of '(char const *)'. 2010-09-23 15:57:32 +00:00
hello_world Clean up the StateType and StopReason enums now that they reside in the lldb module. 2010-10-07 16:51:56 +00:00
help o TestStdCXXDisassembly.py: 2010-10-08 17:21:27 +00:00
inlines Converted to Makefile.rules. 2010-08-24 20:54:26 +00:00
load_unload Remove file:lineno from the expected substrings. Matching 'a_function, i.e., 2010-10-04 16:58:16 +00:00
macosx/universal Marked test_process_launch_for_universal() test case as requiring 'darwin' and 'i386' 2010-09-03 23:49:16 +00:00
make Stop using LLDB_CC/LLDB_ARCH in the plugins for test configurations. Use make 2010-09-30 17:11:58 +00:00
namespace Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
objc Added an objective C test that creates some NSString, NSArray and NSDictionary 2010-09-07 23:55:31 +00:00
order Test order file with both dsym and dwarf combination. 2010-09-14 22:55:48 +00:00
persistent_variables Modification of the expected start strings for simple 'expr' output involving persistent variables. 2010-10-06 19:38:08 +00:00
plugins Added the capability for the test driver to relocate the tests and the intermediate 2010-10-11 22:25:46 +00:00
print-obj Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
set_values Add extra value string to self.expect(). 2010-09-30 16:00:12 +00:00
settings Wrap the rest of file reading operations inside a with block and convert a assertTrue() 2010-10-08 22:10:42 +00:00
signal Added a new test case to test signals with. 2010-10-10 22:28:11 +00:00
signed_types Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
stl o TestStdCXXDisassembly.py: 2010-10-08 17:21:27 +00:00
struct_types Converted TestUnsignedTypespy and TestStructTypes.py to Dsym/Dwarf combination. 2010-09-07 18:32:57 +00:00
threads Move the enum to string utility functions from lldbtest.py to lldbuti.py and 2010-10-07 22:15:58 +00:00
types Added the capability for the test driver to relocate the tests and the intermediate 2010-10-11 22:25:46 +00:00
unittest2 o Added unittest2 which has added the new features in unittest for Python 2.7 2010-08-05 23:42:46 +00:00
unsigned_types Made 'frame variable' printing of unsigned types more readable, like gdb. 2010-09-24 17:33:29 +00:00
Makefile Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
README-TestSuite Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
dotest.py Added the capability for the test driver to relocate the tests and the intermediate 2010-10-11 22:25:46 +00:00
lldbtest.py Add a utility function to lldbtest.py to return the line number of a matched string 2010-10-11 23:52:19 +00:00
lldbutil.py Simplify the generator adaptor to a Python function instead of a class definition, 2010-10-10 20:25:10 +00:00