<div dir="ltr">On Tue, Feb 5, 2013 at 2:01 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Feb 5, 2013 at 1:43 PM, Daniel Dunbar <<a href="mailto:daniel@zuster.org">daniel@zuster.org</a>> wrote:<br>

> Author: ddunbar<br>
> Date: Tue Feb  5 15:43:30 2013<br>
> New Revision: 174443<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=174443&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=174443&view=rev</a><br>
> Log:<br>
> [tests] Add an available feature that combines the triple and use_system_lib.<br>
><br>
>   - This is so that we can easily write XFAIL markers for tests that are known<br>
>     to fail with versions of libc++ as were shipped with a particular triple.<br>
<br>
</div>Seems a bit strange to be running the current/ToT test suite against<br>
some prior release (& we don't maintain such functionality/xfails in<br>
the Clang test suite, for example) - what's the particular use case<br>
that differs from our other regression test suites?<br></blockquote><div><br></div><div style>It's not strange, libc++ at least on Darwin ships as a dynamic library, so it is important and valuable to test against the shipped library (to catch unintended ABI changes, for example).</div>
<div style><br></div><div style> - Daniel</div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
><br>
> Modified:<br>
>     libcxx/trunk/test/lit.cfg<br>
><br>
> Modified: libcxx/trunk/test/lit.cfg<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=174443&r1=174442&r2=174443&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=174443&r1=174442&r2=174443&view=diff</a><br>

> ==============================================================================<br>
> --- libcxx/trunk/test/lit.cfg (original)<br>
> +++ libcxx/trunk/test/lit.cfg Tue Feb  5 15:43:30 2013<br>
> @@ -278,3 +278,11 @@ config.test_format = LibcxxTestFormat(<br>
><br>
>  config.target_triple = lit.params.get(<br>
>      'target_triple', 'unknown-unknown-unknown')<br>
> +<br>
> +# Write an "available feature" that combines the triple when use_system_lib is<br>
> +# enabled. This is so that we can easily write XFAIL markers for tests that are<br>
> +# known to fail with versions of libc++ as were shipped with a particular<br>
> +# triple.<br>
> +if use_system_lib:<br>
> +    config.available_features.add('with_system_lib=%s' % (<br>
> +            config.target_triple,))<br>
><br>
><br>
> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div></div>