[PATCH] libc++: Add option to disable access to the global filesystem namespace

Ed Schouten ed at nuxi.nl
Thu Mar 12 08:42:23 PDT 2015


In http://reviews.llvm.org/D8194#139766, @jroelofs wrote:

> The missing piece is:
>
>   Index: test/libcxx/test/format.py
>   ===================================================================
>   --- test/libcxx/test/format.py	(revision 231941)
>   +++ test/libcxx/test/format.py	(working copy)
>   @@ -60,6 +60,9 @@
>            is_pass_test = name.endswith('.pass.cpp')
>            is_fail_test = name.endswith('.fail.cpp')
>   
>   +        if test.config.unsupported:
>   +            return lit.Test.UNSUPPORTED, "A lit.local.cfg marked this unsupported"
>   +
>            res = lit.TestRunner.parseIntegratedTestScript(
>                test, require_script=is_sh_test)
>            # Check if a result for the test was returned. If so return that
>
>
> With that, LGTM.


Awesome! That seems to make things work indeed. Thanks for your time (and patience)!


http://reviews.llvm.org/D8194

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list