History log of /external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0f9930b4f0604fd5c4c49480d01ea230eff66e3d 24-Jan-2013 Daniel Malea <daniel.malea@intel.com> Marking test cases with @expectedFailureLinux as per recently opened bugs
- PR 15038: missing wide char support on Linux
- PR 14600 - Exception state registers not supported on Linux
- PR 15039: SBProcess.GetSTDOUT() returns an empty buffer
- PR 15037: stop-hooks sometimes fail to fire on Linux



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
1d140f064903a86897234a40eadb8f8937b26e6b 13-Dec-2012 Andrew Kaylor <andrew.kaylor@intel.com> Marking test_lldb_iter_frame in TestLLDBIterator.py as expectedFailureLinux (due to lack of multi-threaded debugging support).

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
a9f92b15f939ae4c4d17c2a61e03477a73955b42 27-Sep-2011 Johnny Chen <johnny.chen@apple.com> Make the assignment of TestBase.mydir more portable.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
82ccf4033d09dc7002637ddc70a3ffcc518a58c9 30-Jul-2011 Johnny Chen <johnny.chen@apple.com> Add a @benchmarks_test decorator for test method we want to categorize as benchmarks test.
The test driver now takes an option "+b" which enables to run just the benchmarks tests.
By default, tests decorated with the @benchmarks_test decorator do not get run.

Add an example benchmarks test directory which contains nothing for the time being,
just to demonstrate the @benchmarks_test concept.

For example,

$ ./dotest.py -v benchmarks

...

----------------------------------------------------------------------
Collected 2 tests

1: test_with_gdb (TestRepeatedExprs.RepeatedExprssCase)
Test repeated expressions with gdb. ... skipped 'benchmarks tests'
2: test_with_lldb (TestRepeatedExprs.RepeatedExprssCase)
Test repeated expressions with lldb. ... skipped 'benchmarks tests'

----------------------------------------------------------------------
Ran 2 tests in 0.047s

OK (skipped=2)
$ ./dotest.py -v +b benchmarks

...

----------------------------------------------------------------------
Collected 2 tests

1: test_with_gdb (TestRepeatedExprs.RepeatedExprssCase)
Test repeated expressions with gdb. ... running test_with_gdb
benchmarks result for test_with_gdb
ok
2: test_with_lldb (TestRepeatedExprs.RepeatedExprssCase)
Test repeated expressions with lldb. ... running test_with_lldb
benchmarks result for test_with_lldb
ok

----------------------------------------------------------------------
Ran 2 tests in 0.270s

OK

Also mark some Python API tests which are missing the @python_api_test decorator.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
07b32b1835440139db93249dbb7103681a3a2bf8 15-Jul-2011 Johnny Chen <johnny.chen@apple.com> Minor change of variable name, from m to b (for breakpoint).


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135214 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
425b0cf93f509ba63346e56654322b9d9bc91d60 12-Jul-2011 Johnny Chen <johnny.chen@apple.com> Passing in os.ctermid() as the arg for SBTarget.Launch(...) for stdin_path, stdout_path, and stderr_path
is just wrong and resulted in the inferior's output getting mixed into the GDB remote communication's
log file. Change all test cases to not pass os.ctermid() and either use SBTarget.LaunchSimple() or
SBTarget.Launch() and pass None as stdin_path/stdout_path/srderr_path to use a pseudo terminal.

rdar://problem/9716499 program output is getting mixed into the GDB remote communications


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
3d8ae4681b81b42a404ad77a231c6f743040e644 16-Jun-2011 Johnny Chen <johnny.chen@apple.com> The extra burden for the Python API test case to assign its process object to self.process
in order to have its process cleaned up (terminated) upon tearDown is gone for good.
Let's simplify a bunch of Python API test cases.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
2077f0d1ea42e1941387b101e61db01a73d5ee08 18-May-2011 Johnny Chen <johnny.chen@apple.com> Add truth value testing to those lldb Python objects with the IsValid() method definitions.
object.__nonzero__(self) is called to implement truth value testing and the built-in operation bool(),
via a simple delegation to self.IsValid().

Change tests under python_api/lldbutil to utilize this mechanism.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131494 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
f8b6525111196f99d4f45fe7edef03318957d586 16-May-2011 Johnny Chen <johnny.chen@apple.com> Renamed the test cases more properly to test_lldb_iter_module/breakpoint/farme.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131412 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
abb3b2d796da9e081cd545b710d23c514489f895 12-May-2011 Johnny Chen <johnny.chen@apple.com> Add two utility functions:

o get_parent_frame(frame)
o get_args_as_string(frame)

to lldbutil.py and create TestFrameUtils.py to exercise the utils.
Plus re-arrange the test/python_api/lldbutil to have three directories
for testing iteration, process stack traces, and the just added frame utils.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py