History log of /external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/abbreviation/TestAbbreviations.py
b3080feae3dbd7f60bd58c62f2da2602676e03d8 17-May-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Updated TestAbbreviations to reflect the changed output in r182068.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
8014368ef3f0d62c50e15856680b51cfaab860ea 06-Mar-2013 Greg Clayton <gclayton@apple.com> Now that "settings set" will strip leading and trailing spaces, we need a way to be able to specify string values that contain spaces. So now settings setting <property> <value>" can have a <value> that is quoted:

settings set prompt "(lldb2) "



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
dac068356f2be6e2becdac805697088b15e60c12 22-Feb-2013 Enrico Granata <egranata@apple.com> If the inferior program is compiled with libc++, you won't see libstdc++

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175832 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
b928eaa5cae4a6f90d5b7c449abd1bad4daee5bf 21-Dec-2012 Andrew Kaylor <andrew.kaylor@intel.com> Updating TestAbbreviations.py to check for a reduced set of instructions when testing 'dis -f'.

Not all of the expected instructions were being generated for the function being disassembled on x86-64-based Linux. It had no push, pop or leave.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
9d9b06382e438743fb3461f54257c58a776ea194 26-Oct-2012 Filipe Cabecinhas <me@filcab.net> Add a teardown function to TestAbbreviations so it doesn't error out when running for two archs.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166740 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
6f01c93497df194b6f2194630a81e87d806ce0e0 12-Oct-2012 Jim Ingham <jingham@apple.com> Bunch of cleanups for warnings found by the llvm static analyzer.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
2753a024a5a314232baa579c0ada87551aa86988 05-Oct-2012 Jim Ingham <jingham@apple.com> Add one-shot breakpoints (-o option to "break set") and a tbreak alias for our gdb friends.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165328 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.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/abbreviation/TestAbbreviations.py
5787f42c1bc0ff106665942c69ed2359ddde6641 23-Aug-2012 Johnny Chen <johnny.chen@apple.com> Make the substring un-matching more robust.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
806cfa2d88182066be64797d6790c5a8c441484c 23-Aug-2012 Johnny Chen <johnny.chen@apple.com> Make a test scenario stronger, since, by default, the setting interpreter.expand-regex-aliases is false.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162465 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
473481bea9ca860c37015943ac831bc341557e1f 23-Aug-2012 Johnny Chen <johnny.chen@apple.com> Fix the test suite failures as a result of r162418 check-in.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162462 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
73844aa19a7360b662e2be710fc3c969d6c86606 22-Aug-2012 Greg Clayton <gclayton@apple.com> Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation:
- no setting auto completion
- very manual and error prone way of getting/setting variables
- tons of code duplication
- useless instance names for processes, threads

Now settings can easily be defined like option values. The new settings makes use of the "OptionValue" classes so we can re-use the option value code that we use to set settings in command options. No more instances, just "does the right thing".



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
229946672e1720586ffddbfdf17e45df353083a5 09-Aug-2012 Jim Ingham <jingham@apple.com> Turn on function args by default in thread & frame formats.
<rdar://problem/11703715>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
4bc8d16c0aeb8645a5ac70908639ca1e55018aab 17-May-2012 Filipe Cabecinhas <me@filcab.net> Warn the user when several commands match the input given.
Added a testcase.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156961 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.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/abbreviation/TestAbbreviations.py
ee2acc41df35096f0f2501a82b6120f328593e81 27-Feb-2012 Sean Callanan <scallanan@apple.com> Fixed an overly-specific testcase that depended
on libm being loaded.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
a1b0ce1323ad4f3448c3c947fca9934a8a0ee41b 19-Jan-2012 Johnny Chen <johnny.chen@apple.com> rdar://problem/10712130

Fixed an issue where backtick char is not properly honored when setting the frame-format variable, like the following:

(lldb) settings set frame-format frame #${frame.index}: ${frame.pc}{ ${module.file.basename}{`${function.name-with-args}${function.pc-offset}}}{ at ${line.file.basename}:${line.number}}\n
(lldb) settings show frame-format
frame-format (string) = "frame #${frame.index}: ${frame.pc}{ `${module.file.basename}{${function.name-with-args}${function.pc-offset}}}{` at ${line.file.basename}:${line.number}}\n"
(lldb)

o CommandObjectSettings.h/.cpp:

Modify the command object impl to require raw command string instead of parsed command string,
which also fixes an outstanding issue that customizing the prompt with trailing spaces doesn't
work.

o Args.cpp:

During CommandInterpreter::HandleCommand(), there is a PreprocessCommand phase which already
strips/processes pairs of backticks as an expression eval step. There's no need to treat
a backtick as starting a quote.

o TestAbbreviations.py and change_prompt.lldb:

Fixed incorrect test case/logic.

o TestSettings.py:

Remove expectedFailure decorator.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148491 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
4d96a749c55056fb98276c2b85442ed26018345a 25-Oct-2011 Johnny Chen <johnny.chen@apple.com> Add more context information to the stop-hook mechanism by displaying the stop-hook
command in the '- Hook id' header. This should improve readbility of the 'display'
command if, for example, we have issued 'display a' and 'display b' which turn into
"target stop-hook add -o 'expr -- a'" and "target stop-hook add -o 'expr -- b'".

Plus some minor change in TestAbbreviations.py to conditionalize the platform-specific
checkings of the "image list" output.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
9d1acc179e28cf2625e66c411fb164303b6e4e4e 24-Oct-2011 Jim Ingham <jingham@apple.com> Add "di" and "dis" aliases to "disassemble" so they will win over "display".


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py
114b64082f90689c1cf769e9fcf1972b71464d40 24-Oct-2011 Johnny Chen <johnny.chen@apple.com> Fix test regressions due to the addition of 'display' alias to the top level commands, which conflicts
with the original 'dis' -> 'disassemble' unique expansion. Change it to 'disass' now.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.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
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.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
/external/lldb/test/functionalities/abbreviation/TestAbbreviations.py