<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/test/python_api/formatters, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2015-10-28T17:43:26+00:00</updated>
<entry>
<title>Move lldb/test to lldb/packages/Python/lldbsuite/test.</title>
<updated>2015-10-28T17:43:26+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2015-10-28T17:43:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c432c8f856e0bd84de980a9d9bb2d31b06fa95b1'/>
<id>urn:sha1:c432c8f856e0bd84de980a9d9bb2d31b06fa95b1</id>
<content type='text'>
This is the conclusion of an effort to get LLDB's Python code
structured into a bona-fide Python package.  This has a number
of benefits, but most notably the ability to more easily share
Python code between different but related pieces of LLDB's Python
infrastructure (for example, `scripts` can now share code with
`test`).

llvm-svn: 251532
</content>
</entry>
<entry>
<title>Rename `lldb_shared` to `use_lldb_suite`.</title>
<updated>2015-10-27T20:12:05+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2015-10-27T20:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0a0490b1520e96b728448b8c43ca873fcaa809dc'/>
<id>urn:sha1:0a0490b1520e96b728448b8c43ca873fcaa809dc</id>
<content type='text'>
llvm-svn: 251444
</content>
</entry>
<entry>
<title>Port the python api decorator to use test categories</title>
<updated>2015-10-26T09:28:32+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>labath@google.com</email>
</author>
<published>2015-10-26T09:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=dc8b2d3d3aa4cedd66ee5b113ee8cc535f2c5a04'/>
<id>urn:sha1:dc8b2d3d3aa4cedd66ee5b113ee8cc535f2c5a04</id>
<content type='text'>
Summary:
Per discussions on the mailing list, I have implemented a decorator which annotates individual
test methods with categories. I have used this framework to replace the '-a' and '+a'
command-line switches (now '-G pyapi' and '--skip-category pyapi') and the @python_api_test
decorator (now @add_test_categories('pyapi')). The test suite now gives an error message
suggesting the new options if the user specifies the deprecated +/-a switches. If the general
direction is good, I will follow this up with other switches.

Reviewers: tberghammer, tfiala, granata.enrico, zturner

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D14020

llvm-svn: 251277
</content>
</entry>
<entry>
<title>Add from __future__ import print_function everywhere.</title>
<updated>2015-10-23T17:04:29+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2015-10-23T17:04:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=35d017f0fc38b53e31f1a44d07c3c142f5d3620b'/>
<id>urn:sha1:35d017f0fc38b53e31f1a44d07c3c142f5d3620b</id>
<content type='text'>
Apparently there were tons of instances I missed last time, I
guess I accidentally ran 2to3 non-recursively.  This should be
every occurrence of a print statement fixed to use a print function
as well as from __future__ import print_function being added to
every file.

After this patch print statements will stop working everywhere in
the test suite, and the print function should be used instead.

llvm-svn: 251121
</content>
</entry>
<entry>
<title>Update every test to import `lldb_shared`.</title>
<updated>2015-10-22T20:06:20+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2015-10-22T20:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=77db4a855239049488e09f28c6665fdb3b51ef90'/>
<id>urn:sha1:77db4a855239049488e09f28c6665fdb3b51ef90</id>
<content type='text'>
This is necessary in order to allow third party modules to be
located under lldb/third_party rather than under the test
folder directly.

Since we're already touching every test file anyway, we also
go ahead and delete the unittest2 import and main block wherever
possible.  The ability to run a test as a standalone file has
already been broken for some time, and if we decide we want this
back, we should use unittest instead of unittest2.

A few places could not have the import of unittest2 removed,because
they depend on the unittest2.expectedFailure or skip decorators.
Removing all those was orthogonal in spirit to the purpose of this
CL, so the import of unittest2 remains in those files that were
using it for its test decorators.  Those can be addressed
separately.

llvm-svn: 251055
</content>
</entry>
<entry>
<title>Merge dwarf and dsym tests</title>
<updated>2015-09-30T10:12:40+00:00</updated>
<author>
<name>Tamas Berghammer</name>
<email>tberghammer@google.com</email>
</author>
<published>2015-09-30T10:12:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c8fd130a2cbf7ade53d05e597f9d48e8c2f37442'/>
<id>urn:sha1:c8fd130a2cbf7ade53d05e597f9d48e8c2f37442</id>
<content type='text'>
Currently most of the test files have a separate dwarf and a separate
dsym test with almost identical content (only the build step is
different). With adding dwo symbol file handling to the test suit it
would increase this to a 3-way duplication. The purpose of this change
is to eliminate this redundancy with generating 2 test case (one dwarf
and one dsym) for each test function specified (dwo handling will be
added at a later commit).

Main design goals:
* There should be no boilerplate code in each test file to support the
  multiple debug info in most of the tests (custom scenarios are
  acceptable in special cases) so adding a new test case is easier and
  we can't miss one of the debug info type.
* In case of a test failure, the debug symbols used during the test run
  have to be cleanly visible from the output of dotest.py to make
  debugging easier both from build bot logs and from local test runs
* Each test case should have a unique, fully qualified name so we can
  run exactly 1 test with "-f &lt;test-case&gt;.&lt;test-function&gt;" syntax
* Test output should be grouped based on test files the same way as it
  happens now (displaying dwarf/dsym results separately isn't
  preferable)

Proposed solution (main logic in lldbtest.py, rest of them are test
cases fixed up for the new style):
* Have only 1 test fuction in the test files what will run for all
  debug info separately and this test function should call just
  "self.build(...)" to build an inferior with the right debug info
* When a class is created by python (the class object, not the class
  instance), we will generate a new test method for each debug info
  format in the test class with the name "&lt;test-function&gt;_&lt;debug-info&gt;"
  and remove the original test method. This way unittest2 see multiple
  test methods (1 for each debug info, pretty much as of now) and will
  handle the test selection and the failure reporting correctly (the
  debug info will be visible from the end of the test name)
* Add new annotation @no_debug_info_test to disable the generation of
  multiple tests for each debug info format when the test don't have an
  inferior

Differential revision: http://reviews.llvm.org/D13028

llvm-svn: 248883
</content>
</entry>
<entry>
<title>Remove expectedFailureFreeBSD from passing test_with_dwarf_formatters_api</title>
<updated>2015-09-14T14:31:46+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@freebsd.org</email>
</author>
<published>2015-09-14T14:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e1daedfbb4816188ddf189857a2aa41852e6924f'/>
<id>urn:sha1:e1daedfbb4816188ddf189857a2aa41852e6924f</id>
<content type='text'>
llvm.org/pr24282

llvm-svn: 247563
</content>
</entry>
<entry>
<title>[ValueObjectSynthetic and ValueObjectDynamicValue] Override GetDeclaration</title>
<updated>2015-08-18T17:56:06+00:00</updated>
<author>
<name>Siva Chandra</name>
<email>sivachandra@google.com</email>
</author>
<published>2015-08-18T17:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9851b1f62bddc6869a1693a2e335f67539804541'/>
<id>urn:sha1:9851b1f62bddc6869a1693a2e335f67539804541</id>
<content type='text'>
Summary:
Returns the declaration of the parent (non-synthetic or static) value.


Reviewers: granata.enrico, clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D12092

llvm-svn: 245319
</content>
</entry>
<entry>
<title>XFAIL test_with_dwarf_formatters_api on FreeBSD</title>
<updated>2015-07-27T19:20:42+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@freebsd.org</email>
</author>
<published>2015-07-27T19:20:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6cfb894892c0ba0e635b2997ea0e5b31e1a64fad'/>
<id>urn:sha1:6cfb894892c0ba0e635b2997ea0e5b31e1a64fad</id>
<content type='text'>
llvm.org/pr24282

llvm-svn: 243309
</content>
</entry>
<entry>
<title>Add option eTypeOptionHideEmptyAggregates.</title>
<updated>2015-07-24T21:30:58+00:00</updated>
<author>
<name>Siva Chandra</name>
<email>sivachandra@google.com</email>
</author>
<published>2015-07-24T21:30:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d26eb907bc5970c12d096b3d668909134502f102'/>
<id>urn:sha1:d26eb907bc5970c12d096b3d668909134502f102</id>
<content type='text'>
Summary:
For certain data structures, when the synthetic child provider returns
zero children, a summary like "Empty instance of &lt;typename&gt;" could be
more appropriate than something like "size=0 {}". This new option helps
hide the trailing "{}".

This is also exposed with a -h option for the command "type summary add".

Reviewers: granata.enrico

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D11473

llvm-svn: 243166
</content>
</entry>
</feed>
