summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/README-TestSuite
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2017-03-01 20:25:48 +0000
committerJim Ingham <jingham@apple.com>2017-03-01 20:25:48 +0000
commit96b2530f52caa732af43b26e6d467dd15df9ffdf (patch)
treef062a8f7f0d07648cd1843d39bbb99b656b6795f /lldb/packages/Python/lldbsuite/test/README-TestSuite
parent0a4703b5ece8df0ed794d351a919aec490b539bb (diff)
downloadbcm5719-llvm-96b2530f52caa732af43b26e6d467dd15df9ffdf.tar.gz
bcm5719-llvm-96b2530f52caa732af43b26e6d467dd15df9ffdf.zip
Add a sample_test directory with simple starter
test cases for standard and "inline" tests. llvm-svn: 296669
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/README-TestSuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/README-TestSuite7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/README-TestSuite b/lldb/packages/Python/lldbsuite/test/README-TestSuite
index 70e4c91b889..92649fc9963 100644
--- a/lldb/packages/Python/lldbsuite/test/README-TestSuite
+++ b/lldb/packages/Python/lldbsuite/test/README-TestSuite
@@ -54,6 +54,10 @@ o subdirectories of 'test'
C/C++/ObjC source files; they were created to house the Python test case which
does not involve lldb reading in an executable file at all.
+ The sample_test directory contains examples of both a full and an "inline"
+ testcase that run a process to a breakpoint and check a local variable. These
+ are convenient starting points for adding new tests.
+
o make directory
Contains Makefile.rules, which can be utilized by test cases to write Makefile
@@ -158,6 +162,9 @@ o Writing test cases:
from the command in the command return object, and all the part where you are driving the
debugger to the point you want to test will be more robust.
+ The sample_test directory contains a standard and an "inline" test that are good starting
+ points for writing a new test.
+
o Attaching in test cases:
If you need to attach to inferiors in your tests, you must make sure the inferior calls
OpenPOWER on IntegriCloud