History log of /external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6bc4dcdfbcdfa455299d2123011b82a77351ee72 15-May-2013 Daniel Malea <daniel.malea@intel.com> Clean up linux test decorators and add links to known bugs
- s/skipOnLinux/skipIfLinux/ to match style of every other decorator
- linkify bugizilla/PR numbers in comments

No intended change in functionality.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
960a6ea95f5dba6885577803f2fe43e637f45e8e 15-Feb-2013 Daniel Malea <daniel.malea@intel.com> More test case cleanup (Linux and Mac):
- remove expectedFailure decorator from resolved rdar 12566646 and 10887661
- remove expectedFailure from TestBitfields testcase not actually affected by bug
- skip the (non-deterministic) TestStopHookMechanism.py to avoid a noisy suite on Linux



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175307 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
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/functionalities/stop-hook/TestStopHookMechanism.py
a3ed7d834b0e0c6924ac95629e740682bbcd15ba 06-Apr-2012 Johnny Chen <johnny.chen@apple.com> Add a new option to the test driver, -N dsym or -N dwarf, in order to exclude tests decorated with
either @dsym_test or @dwarf_test to be executed during the testsuite run. There are still lots of
Test*.py files which have not been decorated with the new decorator.

An example:

# From TestMyFirstWatchpoint.py ->
class HelloWatchpointTestCase(TestBase):

mydir = os.path.join("functionalities", "watchpoint", "hello_watchpoint")

@dsym_test
def test_hello_watchpoint_with_dsym_using_watchpoint_set(self):
"""Test a simple sequence of watchpoint creation and watchpoint hit."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.hello_watchpoint()

@dwarf_test
def test_hello_watchpoint_with_dwarf_using_watchpoint_set(self):
"""Test a simple sequence of watchpoint creation and watchpoint hit."""
self.buildDwarf(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.hello_watchpoint()


# Invocation ->
[17:50:14] johnny:/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -N dsym -v -p TestMyFirstWatchpoint.py
LLDB build dir: /Volumes/data/lldb/svn/ToT/build/Debug
LLDB-137
Path: /Volumes/data/lldb/svn/ToT
URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk
Repository Root: https://johnny@llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 154133
Node Kind: directory
Schedule: normal
Last Changed Author: gclayton
Last Changed Rev: 154109
Last Changed Date: 2012-04-05 10:43:02 -0700 (Thu, 05 Apr 2012)



Session logs for test failures/errors/unexpected successes will go into directory '2012-04-05-17_50_49'
Command invoked: python ./dotest.py -N dsym -v -p TestMyFirstWatchpoint.py
compilers=['clang']

Configuration: arch=x86_64 compiler=clang
----------------------------------------------------------------------
Collected 2 tests

1: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)
Test a simple sequence of watchpoint creation and watchpoint hit. ... skipped 'dsym tests'
2: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)
Test a simple sequence of watchpoint creation and watchpoint hit. ... ok

----------------------------------------------------------------------
Ran 2 tests in 1.138s

OK (skipped=1)
Session logs for test failures/errors/unexpected successes can be found in directory '2012-04-05-17_50_49'
[17:50:50] johnny:/Volumes/data/lldb/svn/ToT/test $


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
7d7f447af7fba3eae442ab99c18f5ae532886099 07-Oct-2011 Johnny Chen <johnny.chen@apple.com> If we spawn an lldb process for test (via pexpect), do not load the init file unless told otherwise.
Set up self.lldbOption to be "--no-lldbibit" unless env variable NO_LLDBIBIT is defined and equals "NO".
Also add "-nx" to gdb spawned.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
e031d3e62c38d7d0a31b61cf7cb3498824f30581 23-Sep-2011 Jim Ingham <jingham@apple.com> Added a test for problems caused when Clang errantly makes the line range for one line
too long, so that the jump from the line above the bad line to the line after
ends up in the middle of the bad line instead. Added a workaround to lldb to just
continue to the end if we find ourselves stopped in the middle of some other line.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140419 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
0f223043ff051fd6e52188f03d9e311ec8dcd0a0 23-Sep-2011 Johnny Chen <johnny.chen@apple.com> A second try to make the TestStopHookMechanism.py more robust after recent changes.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
d430b91d678a709d7319ca3a67ae96602e8adf53 23-Sep-2011 Johnny Chen <johnny.chen@apple.com> The "Stop Hooks" anchors have been removed from the stop-hook output.
Update the test case to fix test suite failure.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140392 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
6033bedc163bc57b5e5c3c1aee8ba81f64b4f11e 26-Aug-2011 Johnny Chen <johnny.chen@apple.com> Add a new attribute self.lldbHere, representing the fullpath to the 'lldb' executable
built locally from the source tree. This is distinguished from self.lldbExec, which
can be used by test/benchmarks to measure the performances against other debuggers.

You can use environment variable LLDB_EXEC to specify self.lldbExec to the dotest.py
test driver, otherwise it is going to be populated with self.lldbHere.

Modify the regular tests under test dir, i.e., not test/benchmarks, to use self.lldbHere.
Also modify the benchmarks tests to use self.lldbHere when it needs an 'lldb' executable
with debug info to do the performance measurements.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138608 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
e2ac6dec08024429fcc8ef1646a435a732e5e94d 28-Jun-2011 Johnny Chen <johnny.chen@apple.com> Move to plevel dirs stop-hook, target, process_launch, and signal to reside under functionalities.
Rename target dir to target_command.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py