r210584 - Fix crash with x86_64-pc-win32-macho target. <rdar://problem/17235840>

Chandler Carruth chandlerc at google.com
Wed Jun 11 09:11:46 PDT 2014


On Wed, Jun 11, 2014 at 5:04 PM, Bob Wilson <bob.wilson at apple.com> wrote:

> There’s a big difference between “I don’t know how to write good tests for
> this” and “we need to rip it out because no one is maintaining it”.


Yes, there is. And I think I called it out in my email? If we can't find
anyone on the lists who knows how to write a good test (not just you, but
*anyone*) then no one is maintaining it.


> We will definitely maintain it, and we (Apple) will have to deal with the
> pain caused by the lack of good tests.


This is a shared project, and we *all* have to deal with the pain caused by
the lack of good tests. That's why it's so important to have them,
especially for targets which not all developers have access to.


> It basically means that we are stuck waiting to find problems when people
> use it, rather than catching them earlier when we run the test suite. We
> can add tests for those issues as they arise.


I have seen you and others routinely ask people adding support for
platforms include sufficient testing that developers not working on those
platforms can at least make reasonable changes to the shared infrastructure
with confidence that these platforms aren't being grossly broken. I don't
understand why this platform is different. I mean, it may be
circumstantially different because no one noticed how bad the testing is
until now, but I don't understand why there is any response to that other
than "yea, we need to get the maintainers of this platform to add some
tests pronto so we can keep supporting it reasonably". =/

The last time I tried to change header search in Clang I had a truly
horrific time of it precisely because of the utter lack of testing on this
front. I've worked reasonably hard to ensure that the platforms I maintain
have good tests now for both header and library search. I think its
reasonable to ask someone to do the same for this platform. If you're
supporting this platform (because you're fixing bugs in it) it seems
reasonable to ask you to either do this or find someone who can do this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140611/17d519fc/attachment.html>


More information about the cfe-commits mailing list