<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/packages/Python/lldbsuite/test/api/multithreaded, 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>2019-09-04T07:46:25+00:00</updated>
<entry>
<title>[dotest] Avoid the need for LEVEL= makefile boilerplate</title>
<updated>2019-09-04T07:46:25+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2019-09-04T07:46:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=418a272f4ab4221c37a9272d48fd31d5ac1bddc1'/>
<id>urn:sha1:418a272f4ab4221c37a9272d48fd31d5ac1bddc1</id>
<content type='text'>
Summary:
Instead of each test case knowing its depth relative to the test root,
we can just have dotest add the folder containing Makefile.rules to the
include path.

This was motivated by r370616, though I have been wanting to do this
ever since we moved to building tests out-of-tree.

The only manually modified files in this patch are lldbinline.py and
plugins/builder_base.py. The rest of the patch has been produced by this
shell command:
  find . \( -name Makefile -o -name '*.mk' \)  -exec sed --in-place -e '/LEVEL *:\?=/d' -e '1,2{/^$/d}' -e 's,\$(LEVEL)/,,' {} +

Reviewers: teemperor, aprantl, espindola, jfb

Subscribers: emaste, javed.absar, arichardson, christof, arphaman, lldb-commits

Differential Revision: https://reviews.llvm.org/D67083

llvm-svn: 370845
</content>
</entry>
<entry>
<title>[lldb][NFC] Remove unused imports in python tests</title>
<updated>2019-08-02T08:06:22+00:00</updated>
<author>
<name>Raphael Isemann</name>
<email>teemperor@gmail.com</email>
</author>
<published>2019-08-02T08:06:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9eedbc4f266d1e49d335d48c4c0f717401d927d2'/>
<id>urn:sha1:9eedbc4f266d1e49d335d48c4c0f717401d927d2</id>
<content type='text'>
llvm-svn: 367663
</content>
</entry>
<entry>
<title>[lldb] Increase testsuite packet-timeout 5secs -&gt; 1min</title>
<updated>2019-07-29T16:10:16+00:00</updated>
<author>
<name>Jan Kratochvil</name>
<email>jan.kratochvil@redhat.com</email>
</author>
<published>2019-07-29T16:10:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2b389517999eef70089811ca395a74b05d69c6cd'/>
<id>urn:sha1:2b389517999eef70089811ca395a74b05d69c6cd</id>
<content type='text'>
rL357954 did increase `packet-timeout` 1sec -&gt; 5secs. Which is IMO about the
maximum timeout reasonable for regular use. But for testsuite I think the
timeout should be higher as the testsuite runs in parallel and it can be run
even on slow hosts and with other load (moreover if it runs on some slow arch).

I have chosen 60 secs, that should be enough hopefully.  Larger value could
make debugging with hanging `lldb-server` annoying.

This patch was based on this testsuite timeout:
http://lab.llvm.org:8014/builders/lldb-x86_64-fedora/builds/546/steps/test/logs/stdio
	FAIL: test_connect (TestGDBRemoteClient.TestGDBRemoteClient)
	   Test connecting to a remote gdb server
	----------------------------------------------------------------------
	Traceback (most recent call last):
	  File "/home/jkratoch/slave-lldb-x86_64-fedora/lldb-x86_64-fedora/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestGDBRemoteClient.py", line 13, in test_connect
	    process = self.connect(target)
	  File "/home/jkratoch/slave-lldb-x86_64-fedora/lldb-x86_64-fedora/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py", line 480, in connect
	    self.assertTrue(error.Success(), error.description)
	AssertionError: False is not True : failed to get reply to handshake packet

Differential Revision: https://reviews.llvm.org/D65271

llvm-svn: 367234
</content>
</entry>
<entry>
<title>[lldb] [test] Extend D55859 symbols.enable-external-lookup=false for more testcases</title>
<updated>2019-06-17T14:46:17+00:00</updated>
<author>
<name>Jan Kratochvil</name>
<email>jan.kratochvil@redhat.com</email>
</author>
<published>2019-06-17T14:46:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8c82c41262fad55de7ed921b9e0df0da6c0e896b'/>
<id>urn:sha1:8c82c41262fad55de7ed921b9e0df0da6c0e896b</id>
<content type='text'>
D55859 &lt;https://reviews.llvm.org/D55859&gt; has no effect for some of the
testcases so this patch extends it even for (all?) other testcases known to me.
LLDB was failing when LLDB prints errors reading system debug infos
(`*-debuginfo.rpm`, DWZ-optimized) which should never happen as LLDB testcases
should not be affected by system debug infos.

`lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp.template` is
using only SB API which does not expose `ModuleList` so I had to call
`HandleCommand()` there.

`lldb-test.cpp` could also use `HandleCommand` and then there would be no need
for `ModuleListProperties::SetEnableExternalLookup()` but I think it is cleaner
with API and not on based on text commands.

Differential Revision: https://reviews.llvm.org/D63339

llvm-svn: 363567
</content>
</entry>
<entry>
<title>Skip TestMultithreaded.test_sb_api_listener_resume on linux</title>
<updated>2018-12-18T14:24:55+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2018-12-18T14:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b4b7c148e321741f458c5109542858081453562f'/>
<id>urn:sha1:b4b7c148e321741f458c5109542858081453562f</id>
<content type='text'>
The test still fails occasionally (1/100 runs). Upgrade the xfail to
skip.

llvm-svn: 349487
</content>
</entry>
<entry>
<title>Fix whitespace in the python test suite.</title>
<updated>2018-07-27T22:20:59+00:00</updated>
<author>
<name>Raphael Isemann</name>
<email>teemperor@gmail.com</email>
</author>
<published>2018-07-27T22:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=23d7a9ebbe6fd815af1f7263197df701c784d012'/>
<id>urn:sha1:23d7a9ebbe6fd815af1f7263197df701c784d012</id>
<content type='text'>
Summary:
The test suite has often unnecessary trailing whitespace, and sometimes
unnecessary trailing lines or a missing final new line. This patch just strips
trailing whitespace/lines and adds missing newlines at the end.

Subscribers: ki.stfu, JDevlieghere, christof, lldb-commits

Differential Revision: https://reviews.llvm.org/D49943

llvm-svn: 338171
</content>
</entry>
<entry>
<title>Fix TestMultithreaded when there's no debugserver specified</title>
<updated>2018-02-23T05:29:27+00:00</updated>
<author>
<name>Frederic Riss</name>
<email>friss@apple.com</email>
</author>
<published>2018-02-23T05:29:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0fda3a872110e1e86383049dca6ad3339085a843'/>
<id>urn:sha1:0fda3a872110e1e86383049dca6ad3339085a843</id>
<content type='text'>
r325858 was bogus and would error out with a KeyError when --server
was not passed to dotest.py.

llvm-svn: 325862
</content>
</entry>
<entry>
<title>Fix TestMultithreaded when specifying an alternative debugserver.</title>
<updated>2018-02-23T05:03:09+00:00</updated>
<author>
<name>Frederic Riss</name>
<email>friss@apple.com</email>
</author>
<published>2018-02-23T05:03:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8492f2081d1f1a564caddd7dbfb553855873b583'/>
<id>urn:sha1:8492f2081d1f1a564caddd7dbfb553855873b583</id>
<content type='text'>
Summary:
This test launches a helper that uses the debugserver. The environment
variable sepcifying the debug server wasn't passed to this helper, thus
it was using the default one.

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D43546

llvm-svn: 325858
</content>
</entry>
<entry>
<title>Compile the LLDB tests out-of-tree.</title>
<updated>2018-01-30T18:29:16+00:00</updated>
<author>
<name>Adrian Prantl</name>
<email>aprantl@apple.com</email>
</author>
<published>2018-01-30T18:29:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5ec76fe720e43a9196d3437e1ff448668bf7db6d'/>
<id>urn:sha1:5ec76fe720e43a9196d3437e1ff448668bf7db6d</id>
<content type='text'>
This patch is the result of a discussion on lldb-dev, see
http://lists.llvm.org/pipermail/lldb-dev/2018-January/013111.html for
background.

For each test (should be eventually: each test configuration) a
separate build directory is created and we execute

  make VPATH=$srcdir/path/to/test -C $builddir/path/to/test -f $srcdir/path/to/test/Makefile -I $srcdir/path/to/test

In order to make this work all LLDB tests need to be updated to find
the executable in the test build directory, since CWD still points at
the test's source directory, which is a requirement for unittest2.

Although we have done extensive testing, I'm expecting that this first
attempt will break a few bots. Please DO NOT HESITATE TO REVERT this
patch in order to get the bots green again. We will likely have to
iterate on this some more.

Differential Revision: https://reviews.llvm.org/D42281

llvm-svn: 323803
</content>
</entry>
<entry>
<title>Enforce that tests building with buildDefault set NO_DEBUG_INFO_TESTCASE</title>
<updated>2018-01-30T17:02:42+00:00</updated>
<author>
<name>Adrian Prantl</name>
<email>aprantl@apple.com</email>
</author>
<published>2018-01-30T17:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=43a68f1f0333e987459dca51421fd950c5e187fb'/>
<id>urn:sha1:43a68f1f0333e987459dca51421fd950c5e187fb</id>
<content type='text'>
and fix resulting errors. This is a prerequisite for building each
test variant in its own build directory.

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