<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/test/functionalities/plugins/commands, 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>Fixed the test suite on MacOSX so that "test/api/multithreaded/TestMultithreaded.py" works without errors.</title>
<updated>2015-10-26T17:52:16+00:00</updated>
<author>
<name>Greg Clayton</name>
<email>gclayton@apple.com</email>
</author>
<published>2015-10-26T17:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=22fd3b1deeb447d2ecac8711b6e75ab4413336de'/>
<id>urn:sha1:22fd3b1deeb447d2ecac8711b6e75ab4413336de</id>
<content type='text'>
The problem was that the @skipIfNoSBHeaders on darwin was trying to use self.lib_dir when it hadn't been set yet.

I looked at the code and places were required to set "self.lib_dir" for no real reason as all places that used it just used the LLDB_LIB_DIR environment variable. So I removed all uses of self.lib_dir and replaced them to use 'os.environ["LLDB_LIB_DIR"]'. Did the same for self.implib_dir.

llvm-svn: 251315
</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>XFAIL miscellaneous tests on windows.</title>
<updated>2015-09-11T20:01:24+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2015-09-11T20:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9c7b08e609115eef68b1155545a7bc8d9c6f45bc'/>
<id>urn:sha1:9c7b08e609115eef68b1155545a7bc8d9c6f45bc</id>
<content type='text'>
llvm.org/pr24778

llvm-svn: 247460
</content>
</entry>
<entry>
<title>Remove expectedFailureFreeBSD from passing PluginCommandTestCase::test_load_plugin</title>
<updated>2015-09-08T13:27:27+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@freebsd.org</email>
</author>
<published>2015-09-08T13:27:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=bd2a41a6560c7b1ada41deb60c8521a79b834242'/>
<id>urn:sha1:bd2a41a6560c7b1ada41deb60c8521a79b834242</id>
<content type='text'>
This test was failing due to a libc++ vs libsdc++ conflict which should
be fixed by r200646.

llvm.org/pr17430

llvm-svn: 247012
</content>
</entry>
<entry>
<title>Skip TestPluginCommands.py if host lldb library is incompatible with remote.</title>
<updated>2015-05-15T12:39:33+00:00</updated>
<author>
<name>Robert Flack</name>
<email>flackr@gmail.com</email>
</author>
<published>2015-05-15T12:39:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6e1fd35bfe8618b2eedacfff632dc631fa80da1c'/>
<id>urn:sha1:6e1fd35bfe8618b2eedacfff632dc631fa80da1c</id>
<content type='text'>
TestPluginCommands.py attempts to build a library which links against the host
built lldb library. This will only work if the remote is compatible with
binaries produced by the host.

Test Plan:
./dotest.py $DOTEST_OPTS -v -t -p TestPluginCommands.py
Test is skipped if remote platform is incompatible with host platform (i.e. mac
-&gt; linux).

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

llvm-svn: 237444
</content>
</entry>
<entry>
<title>Fix TestPluginCommands for gcc.</title>
<updated>2015-04-16T22:03:43+00:00</updated>
<author>
<name>Chaoren Lin</name>
<email>chaorenl@google.com</email>
</author>
<published>2015-04-16T22:03:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=54fff4c9e258b58833083e8171730a0e7818d166'/>
<id>urn:sha1:54fff4c9e258b58833083e8171730a0e7818d166</id>
<content type='text'>
Summary: gcc requires that LDFLAGS come after DYLIB_OBJECTS.

Test Plan: TestPluginCommands passes.

Reviewers: sivachandra, pcc, clayborg

Reviewed By: clayborg

Subscribers: lldb-commits

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

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