f40b0928e7455c7158ea9aa82d7908cc3fe4d1af |
30-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr16697 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187415 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
|
3cb3fe3da5851d90504b7c36817863a413447181 |
18-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Adding a "cmdline" category to the test suite git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184155 91177308-0d34-0410-b5e6-96231b3b80d8
categories
|
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
estAliases.py
|
ce5a73b371238362897de073746140750963dc7e |
28-Mar-2013 |
Enrico Granata <egranata@apple.com> |
Making the buildbot happy again after changes to the default formatter for char[] git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178295 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
|
3a91e146f4e40ce9b44af3619551f6b6d9bb3b7f |
09-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12028723> Adding useful formatting options to the expression (expr) command. As a side effect of this change, the -d option now supports the same three-values enumeration that frame variables uses (run, don't run, none) instead of a boolean like it did previously These options do not apply to print, p or po because these are aliased to not take any options. In order to use them, use expression or expr. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171993 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.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
estAliases.py
|
cd1b7fcea31ee9006a0c3c604617b975053834d8 |
18-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Fixed the test for the new process launch abbreviation. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157050 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
|
84923712ffb6fe83f41479491d71eb3f2d173ca4 |
16-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Cleanup after functionalities/alias/TestAliases.py This test is run after TestAbbreviations and was making runCmd("h") fail in that test, on the second tested architecture (two commands would be avilable for "h": "help" and "hello"). Later I'm sending a patch for review to add some information to the error message for that case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156918 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.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
estAliases.py
|
9badf141a4a5aae9bcaea141d5b813f38b170a05 |
08-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix the test suite failure. The particular line in the test case was there since the initial version dated 2010-21-15. The test started failure recently probably due to work done on the command parsing. Anyway, the specific test sequence is invalid and is fixed now. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144039 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
|
1ac6d1f9200a875cc4f761e278d29658599431c0 |
09-Sep-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Adding two new options to the 'help' command: --show-aliases (-a) shows aliases for commands, as well as built-in commands --hide-user-defined (-u) hides user defined commands by default 'help' without arguments does not show aliases anymore. to see them, add --show-aliases to have only built-in commands appear, use 'help --hide-user-defined' ; there is currently no way to hide built-in commands from the help output 'help command' is not changed by this commit, and help is shown even if command is an alias and -a is not specified git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139377 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
|
37ef7c73ea2e84965c54c9c2d4ea5c5d6e7dbdd1 |
24-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Moved the test code for Python commands out of the test case for aliases, into its own dedicated test case (one fill was still lurking in the old folder) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138446 91177308-0d34-0410-b5e6-96231b3b80d8
y_import
|
46623be1656d64a261c0d5e0150c49e9abc82ca1 |
24-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Moved the test code for Python commands out of the test case for aliases, into its own dedicated test case git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138444 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
elcome.py
|
960691ff5f194be6c655c6a2aae2000d5a838647 |
22-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
- Support for Python namespaces: If you have a Python module foo, in order to use its contained objects in LLDB you do not need to use 'from foo import *'. You can use 'import foo', and then refer to items in foo as 'foo.bar', and LLDB will know how to resolve bar as a member of foo. Accordingly, GNU libstdc++ formatters have been moved from the global namespace to gnu_libstdcpp and a few test cases are also updated to reflect the new convention. Python docs suggest using a plain 'import' en lieu of 'from-import'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138244 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
y_import
|
e5e34cb15f031237004b05abfa623c71f879f6c0 |
17-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
When defining a scripted command, it is possible to provide a docstring and that will be used as the help text for the command If no docstring is provided, a default help text is created LLDB will refuse to create scripted commands if the scripting language is anything but Python Some additional comments in AppleObjCRuntimeV2.cpp to describe the memory layout expected by the dynamic type lookup code git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137801 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
elcome.py
|
6b1596d81c34c6efb10ed51a3572d6b145b73f5b |
17-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Changes to Python commands: - They now have an SBCommandReturnObject instead of an SBStream as third argument - The class CommandObjectPythonFunction has been merged into CommandObjectCommands.cpp - The command to manage them is now: command script with subcommands add, list, delete, clear command alias is returned to its previous functionality - Python commands are now part of an user dictionary, instead of being seen as aliases git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137785 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
y_import
elcome.py
|
c2a2825d787be5459fc55264e55b6020ff62f68a |
16-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Python commands: It is now possible to use 'command alias --python' to define a command name that actually triggers execution of a Python function (e.g. command alias --python foo foo_impl makes a command named 'foo' that runs Python function 'foo_impl') The Python function foo_impl should have as signature: def foo_impl(debugger, args, stream, dict): where debugger is an object wrapping an LLDB SBDebugger args is the command line arguments, as an unparsed Python string stream is an SBStream that represents the standard output dict is an internal utility parameter and should be left untouched The function should return None on no error, or an error string to describe any problems git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137722 91177308-0d34-0410-b5e6-96231b3b80d8
estAliases.py
y_import
elcome.py
|
aff8648274655617ab2ebd5cae7db43b0eba86ae |
26-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
A couple of directory renamings; get rid of 'tests' from the directory names. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133893 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
estAliases.py
ain.cpp
|