<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/lib/Testing/Support, 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-04-25T10:08:31+00:00</updated>
<entry>
<title>[Testing] Move clangd::Annotations to llvm testing support</title>
<updated>2019-04-25T10:08:31+00:00</updated>
<author>
<name>Ilya Biryukov</name>
<email>ibiryukov@google.com</email>
</author>
<published>2019-04-25T10:08:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6fae38ec9100f0ad8b2c0352bae90aa64383172b'/>
<id>urn:sha1:6fae38ec9100f0ad8b2c0352bae90aa64383172b</id>
<content type='text'>
Summary:
Annotations allow writing nice-looking unit test code when one needs
access to locations from the source code, e.g. running code completion
at particular offsets in a file. See comments in Annotations.cpp for
more details on the API.

Also got rid of a duplicate annotations parsing code in clang's code
complete tests.

Reviewers: gribozavr, sammccall

Reviewed By: gribozavr

Subscribers: mgorny, hiraditya, ioeric, MaskRay, jkorous, arphaman, kadircet, jdoerfert, cfe-commits, llvm-commits

Tags: #clang, #llvm

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

llvm-svn: 359179
</content>
</entry>
<entry>
<title>Update the file headers across all of the LLVM projects in the monorepo</title>
<updated>2019-01-19T08:50:56+00:00</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2019-01-19T08:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2946cd701067404b99c39fb29dc9c74bd7193eb3'/>
<id>urn:sha1:2946cd701067404b99c39fb29dc9c74bd7193eb3</id>
<content type='text'>
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

llvm-svn: 351636
</content>
</entry>
<entry>
<title>Fix error with SmallString implicit conversion.</title>
<updated>2018-09-06T22:47:32+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2018-09-06T22:47:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=54d898e7d50038cd21d7fddc93df129a34e134dc'/>
<id>urn:sha1:54d898e7d50038cd21d7fddc93df129a34e134dc</id>
<content type='text'>
llvm-svn: 341597
</content>
</entry>
<entry>
<title>Fix a configure issue with Visual Studio generators.</title>
<updated>2018-09-06T22:00:38+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2018-09-06T22:00:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a0a738b1840fa690a13937774a1a1e994cf58c4f'/>
<id>urn:sha1:a0a738b1840fa690a13937774a1a1e994cf58c4f</id>
<content type='text'>
We can't put the unittest source dir map in the configuration
specific directory because VS doesn't have a configure-specific
directory, instead it only knows this at runtime.  So we have
to remove this from the path.  This in turn means that the path
will be slightly different in VS configurations vs non vs
configurations.  In the former, the source map will be in the
parent directory of the executable, and in the latter it will
be in the same directory as the executable.  So check both.

llvm-svn: 341590
</content>
</entry>
<entry>
<title>Quick fix for -DBUILD_SHARED_LIBS=on build after rL341502</title>
<updated>2018-09-06T19:51:20+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2018-09-06T19:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=95dd7a25bab98a93bd58c47e0b6d6f91791bf987'/>
<id>urn:sha1:95dd7a25bab98a93bd58c47e0b6d6f91791bf987</id>
<content type='text'>
libLLVMTestingSupport.so references a symbol in utils/unittest/UnitTestMain/TestMain.cpp (a layering issue) and will cause a link error because of -Wl,-z,defs (cmake/modules/HandleLLVMOptions.cmake)

Waiting zturner for a better fix.

llvm-svn: 341580
</content>
</entry>
<entry>
<title>Fix some warnings.</title>
<updated>2018-09-06T00:06:20+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2018-09-06T00:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5cda1b802d11942b906eeef2019da020dde55408'/>
<id>urn:sha1:5cda1b802d11942b906eeef2019da020dde55408</id>
<content type='text'>
llvm-svn: 341508
</content>
</entry>
<entry>
<title>Fix silly error in unittest helper.</title>
<updated>2018-09-05T23:45:48+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2018-09-05T23:45:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9ec23049a76cef425e3978e617cd3aaf2f8d2fd3'/>
<id>urn:sha1:9ec23049a76cef425e3978e617cd3aaf2f8d2fd3</id>
<content type='text'>
llvm-svn: 341505
</content>
</entry>
<entry>
<title>Add support for unittest inputs.</title>
<updated>2018-09-05T23:30:17+00:00</updated>
<author>
<name>Zachary Turner</name>
<email>zturner@google.com</email>
</author>
<published>2018-09-05T23:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e9f1df84af2f50a2cde01f7f2333f12ae326f3c1'/>
<id>urn:sha1:e9f1df84af2f50a2cde01f7f2333f12ae326f3c1</id>
<content type='text'>
Occasionally it is useful to have unittest which take inputs.
While we normally try to have this test be more of a lit test
we occasionally don't have tools that can exercise the code
in the right way to test certain things.  LLDB has been using
this style of unit test for a while, particularly with regards
to how it tests core dump and minidump file parsing.  Recently
i needed this as well for the case where we want to test that
some of the PDB reading code works correctly.  It needs to
exercise the code in a way that is not covered by any dumper
and would be impractical to implement in one of the dumpers,
but requires a valid PDB file.  Since this is now needed by
more than one project, it makes sense to have this be a
generally supported thing that unit tests can do, and we just
encourage people to use this sparingly.

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

llvm-svn: 341502
</content>
</entry>
<entry>
<title>[LLVMTestingSupport] Add explicit linkage to LLVMSupport</title>
<updated>2018-04-08T06:49:17+00:00</updated>
<author>
<name>Michal Gorny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2018-04-08T06:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=47671e31cd911681267411f25200571f937d6ee1'/>
<id>urn:sha1:47671e31cd911681267411f25200571f937d6ee1</id>
<content type='text'>
Explicitly link LLVMTestingSupport library against LLVMSupport. This
is necessary to fix linking errors when LLVMTestingSupport is built
as a shared library (with BUILD_SHARED_LIBS=ON) and -Wl,-z,defs is used.

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

llvm-svn: 329522
</content>
</entry>
<entry>
<title>[Testing/Support]: Better matching of Error failure states</title>
<updated>2018-04-05T14:32:10+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>labath@google.com</email>
</author>
<published>2018-04-05T14:32:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=510725c2d69cb28773e9097656fdef52d7240a90'/>
<id>urn:sha1:510725c2d69cb28773e9097656fdef52d7240a90</id>
<content type='text'>
Summary:
The existing Failed() matcher only allowed asserting that the operation
failed, but it was not possible to verify any details of the returned
error.

This patch adds two new matchers, which make this possible:
- Failed&lt;InfoT&gt;() verifies that the operation failed with a single error
  of a given type.
- Failed&lt;InfoT&gt;(M) additionally check that the contained error info
  object is matched by the nested matcher M.

To make these work, I've changed the implementation of the ErrorHolder
class. Now, instead of just storing the string representation of the
Error, it fetches the ErrorInfo objects and stores then as a list of
shared pointers. This way, ErrorHolder remains copyable, while still
retaining the full information contained in the Error object.

In case the Error object contains two or more errors, the new matchers
will fail to match, instead of trying to match all (or any) of the
individual ErrorInfo objects. This seemed to be the most sensible
behavior for when one wants to match exact error details, but I could be
convinced otherwise...

Reviewers: zturner, lhames

Subscribers: llvm-commits

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

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