[libcxx] r174443 - [tests] Add an available feature that combines the triple and use_system_lib.
dblaikie at gmail.com
Tue Feb 5 14:01:41 PST 2013
On Tue, Feb 5, 2013 at 1:43 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> Author: ddunbar
> Date: Tue Feb 5 15:43:30 2013
> New Revision: 174443
> URL: http://llvm.org/viewvc/llvm-project?rev=174443&view=rev
> [tests] Add an available feature that combines the triple and use_system_lib.
> - This is so that we can easily write XFAIL markers for tests that are known
> to fail with versions of libc++ as were shipped with a particular triple.
Seems a bit strange to be running the current/ToT test suite against
some prior release (& we don't maintain such functionality/xfails in
the Clang test suite, for example) - what's the particular use case
that differs from our other regression test suites?
> Modified: libcxx/trunk/test/lit.cfg
> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=174443&r1=174442&r2=174443&view=diff
> --- libcxx/trunk/test/lit.cfg (original)
> +++ libcxx/trunk/test/lit.cfg Tue Feb 5 15:43:30 2013
> @@ -278,3 +278,11 @@ config.test_format = LibcxxTestFormat(
> config.target_triple = lit.params.get(
> 'target_triple', 'unknown-unknown-unknown')
> +# Write an "available feature" that combines the triple when use_system_lib is
> +# enabled. This is so that we can easily write XFAIL markers for tests that are
> +# known to fail with versions of libc++ as were shipped with a particular
> +# triple.
> +if use_system_lib:
> + config.available_features.add('with_system_lib=%s' % (
> + config.target_triple,))
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
More information about the cfe-commits