History log of /external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f3d6ee25c49833eddf8ca12da72706e5828a2f21 17-Jun-2013 Matt Kopec <Matt.Kopec@intel.com> Fix breakpoint test to account for full path of source file location.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184126 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
025bcc0c90325b36dc3cbaf644bebc77ff758a7c 17-Jun-2013 Matt Kopec <Matt.Kopec@intel.com> Fix single whitespace before breakpoint filename in some tests due to r183932.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
6475c42148a8ea1ca86e5db465db7eca742d897d 04-Dec-2012 Greg Clayton <gclayton@apple.com> <rdar://problem/12798131>

Cleaned up the option parsing code to always pass around the short options as integers. Previously we cast this down to "char" and lost some information. I recently added an assert that would detect duplicate short character options which was firing during the test suite.

This fix does the following:
- make sure all short options are treated as "int"
- make sure that short options can be non-printable values when a short option is not required or when an option group is mixed into many commands and a short option is not desired
- fix the help printing to "do the right thing" in all cases. Previously if there were duplicate short character options, it would just not emit help for the duplicates
- fix option parsing when there are duplicates to parse options correctly. Previously the option parsing, when done for an OptionGroup, would just start parsing options incorrectly by omitting table entries and it would end up setting the wrong option value



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
c676e354ced3231e1361b7788e22d787ccfff603 20-Nov-2012 Daniel Malea <daniel.malea@intel.com> Clear auto-confirm setting on teardown for tests that use it



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168382 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
c09b5c12fb22024aff9be90ad9106c4a27be9f62 20-Nov-2012 Daniel Malea <daniel.malea@intel.com> Use auto-confirm setting to avoid prompts causing some tests to appear to hang
- this commit addresses bugzilla #14385



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
7d5e4064d4b2860e1130c4391069c64303e8cfa3 19-Nov-2012 Daniel Malea <daniel.malea@intel.com> Temporarily skip tests known to hang on Linux
- opened bugzilla defects #14384 and #14385



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
57613985f9427579cd4919553858cdce5fa662e5 22-Sep-2012 Jim Ingham <jingham@apple.com> Missed a few places where I didn't delete the obsolete (commented out) version of the breakpoint creation.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
431d839a33e9a274e705f7a268a1c9de2ffc2da2 22-Sep-2012 Jim Ingham <jingham@apple.com> Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly
on the output of "break set". Please don't do this sort of thing!!!!!


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164433 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
c1ca9dcd0e8a1c7c5a882281afdd2a5145026fd0 08-Aug-2012 Enrico Granata <egranata@apple.com> <rdar://problem/11975483> Removing user-visible references to 'dict' as a parameter name for Python summary-generating functions since it is a Python keyword.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
dee13ce54bb21ba3cd113e22a3201c573ee54ba5 20-Jun-2012 Filipe Cabecinhas <me@filcab.net> Continue the cleanup started on r158737

Adds a utility class method to TestBase that checks and removes a temp
file.
Removed every use of system() to execute rm -f.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@158809 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
e6adacf01c0ceaafeaaa4993821985a131821893 28-May-2012 Filipe Cabecinhas <me@filcab.net> Remove all written files

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157562 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.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/breakpoint/breakpoint_command/TestBreakpointCommand.py
8ad21a888d8185b929c68fec52b571d823377b34 04-Apr-2012 Enrico Granata <egranata@apple.com> Adding a new --python-function (-F) option to breakpoint command add. The option allows the user to specify a Python function name instead of a Python oneliner or interactive script input as a breakpoint command

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
d6d47976b71187907c1cdeea86fabf7d5534314f 23-Sep-2011 Jim Ingham <jingham@apple.com> Added the ability to restrict breakpoints by function name, function regexp, selector
etc to specific source files.
Added SB API's to specify these source files & also more than one module.
Added an "exact" option to CompileUnit's FindLineEntry API.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
fdf24efe672bf3fa041cdbebd2d7f406b11882bd 09-Sep-2011 Jim Ingham <jingham@apple.com> Move the SourceManager from the Debugger to the Target. That way it can store the per-Target default Source File & Line.
Set the default Source File & line to main (if it can be found.) at startup. Selecting the current thread & or frame resets
the current source file & line, and "source list" as well as the breakpoint command "break set -l <NUM>" will use the
current source file.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
083e4a9b6c13eb737ca6279bbd7359e674a729a4 26-Jun-2011 Johnny Chen <johnny.chen@apple.com> Move some top level directories to reside under functionalities dir.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133892 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py