[Lldb-commits] [lldb] r116980 - /lldb/trunk/test/dotest.py

Johnny Chen johnny.chen at apple.com
Wed Oct 20 17:47:52 PDT 2010

Author: johnny
Date: Wed Oct 20 19:47:52 2010
New Revision: 116980

URL: http://llvm.org/viewvc/llvm-project?rev=116980&view=rev
Add an example of option combination for running a single test method to the help text.


Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=116980&r1=116979&r2=116980&view=diff
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Wed Oct 20 19:47:52 2010
@@ -115,6 +115,22 @@
 args : specify a list of directory names to search for python Test*.py scripts
        if empty, search from the curret working directory, instead
+This is an example of using the -f -g options to pinpoint to a specfic test
+method to be run:
+$ ./dotest.py -f ClassTypesTestCase.test_with_dsym_and_run_command -g
+Collected 1 test
+test_with_dsym_and_run_command (TestClassTypes.ClassTypesTestCase)
+Test 'frame variable this' when stopped on a class constructor. ... ok
+Ran 1 test in 1.396s
 Running of this script also sets up the LLDB_TEST environment variable so that
 individual test cases can locate their supporting files correctly.  The script
 tries to set up Python's search paths for modules by looking at the build tree

More information about the lldb-commits mailing list