History log of /external/lldb/test/functionalities/command_script/TestCommandScript.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/command_script/TestCommandScript.py
5cc975bbbe2c7192039a1097150e3f94c628882c 25-Mar-2013 Enrico Granata <egranata@apple.com> These test cases fail on the buildbot - skip on Linux for now, will figure out why

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177879 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/command_script/TestCommandScript.py
004ccb3fcca8c8004cb6cdb1f383b02e792a0452 21-Feb-2013 Daniel Malea <daniel.malea@intel.com> Fix CommandObjectMultiword to initialize all members, and beef up corresponding test case.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/command_script/TestCommandScript.py
8b5c29d670643d4c7c1c54b4f866ee65544cc902 19-Feb-2013 Daniel Malea <daniel.malea@intel.com> Minor test runner improvemenst
- rework the way SBDebugger.SetAsync() is used to avoid side effects (reset original value at TearDownHook)
- refactor expectedFailureClang (and add expectedFailureGcc decorator)
- mark TestChangeValueAPI.py as expectedFailureGcc due to PR-15039



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/command_script/TestCommandScript.py
c315bdc8aa2ba51fca4d47bf61afa31c9118c0bd 25-Apr-2012 Enrico Granata <egranata@apple.com> Fixing a bunch of i386 testsuite failures

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/command_script/TestCommandScript.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/command_script/TestCommandScript.py
2fcf412d77ef17500c8d0dde82f0ac775f1261e7 14-Dec-2011 Johnny Chen <johnny.chen@apple.com> http://llvm.org/bugs/show_bug.cgi?id=11569
LLDBSwigPythonCallCommand crashes when a command script returns an object

Add more robustness to LLDBSwigPythonCallCommand. It should check whether the returned Python object
is a string, and only assign it as the error msg when the check holds.
Also add a regression test.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/command_script/TestCommandScript.py
6010acef0cee54e044d4e7e472ef3d99e13c5045 07-Nov-2011 Enrico Granata <granata.enrico@gmail.com> this patch addresses several issues with "command script" subcommands:
a) adds a new --synchronicity (-s) setting for "command script add" that allows the user to decide if scripted commands should run synchronously or asynchronously (which can make a difference in how events are handled)
b) clears up several error messages
c) adds a new --allow-reload (-r) setting for "command script import" that allows the user to reload a module even if it has already been imported before
d) allows filename completion for "command script import" (much like what happens for "target create")
e) prevents "command script add" from replacing built-in commands with scripted commands
f) changes AddUserCommand() to take an std::string instead of a const char* (for performance reasons)
plus, it fixes an issue in "type summary add" command handling which caused several test suite errors


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/command_script/TestCommandScript.py
1e90cce7a92bf74510f2ca01ba2ae06eebffb983 14-Oct-2011 Johnny Chen <johnny.chen@apple.com> Rename directory command_python to command_script, and the test file, too.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141963 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/command_script/TestCommandScript.py