[PATCH] libc++: Add option to disable access to the global filesystem namespace
Jonathan Roelofs
jonathan at codesourcery.com
Thu Mar 12 08:22:22 PDT 2015
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.
http://reviews.llvm.org/D8194
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list