[libcxx-commits] [libcxx] b785396 - [libc++] Clean up some outdated documentation about running libc++ tests
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 9 10:39:11 PDT 2020
Author: Louis Dionne
Date: 2020-07-09T13:39:00-04:00
New Revision: b785396525562661ffba887501c540fea951633f
URL: https://github.com/llvm/llvm-project/commit/b785396525562661ffba887501c540fea951633f
DIFF: https://github.com/llvm/llvm-project/commit/b785396525562661ffba887501c540fea951633f.diff
LOG: [libc++] Clean up some outdated documentation about running libc++ tests
The documentation is still awfully outdated, but it's a bit better at least.
Added:
Modified:
libcxx/docs/TestingLibcxx.rst
libcxx/utils/libcxx/test/target_info.py
Removed:
################################################################################
diff --git a/libcxx/docs/TestingLibcxx.rst b/libcxx/docs/TestingLibcxx.rst
index 810131f68d61..0c9c87d489bc 100644
--- a/libcxx/docs/TestingLibcxx.rst
+++ b/libcxx/docs/TestingLibcxx.rst
@@ -109,13 +109,13 @@ default.
Specify the compiler used to build the tests.
-.. option:: cxx_stdlib_under_test=<stdlib name>
+.. option:: stdlib=<stdlib name>
- **Values**: libc++, libstdc++
+ **Values**: libc++, libstdc++, msvc
- Specify the C++ standard library being tested. Unless otherwise specified
- libc++ is used. This option is intended to allow running the libc++ test
- suite against other standard library implementations.
+ Specify the C++ standard library being tested. The default is libc++ if this
+ option is not provided. This option is intended to allow running the libc++
+ test suite against other standard library implementations.
.. option:: std=<standard version>
@@ -151,22 +151,6 @@ default.
still be used to specify the path of the library to link to and run against,
respectively.
-.. option:: use_lit_shell=<bool>
-
- Enable or disable the use of LIT's internal shell in ShTests. If the
- environment variable LIT_USE_INTERNAL_SHELL is present then that is used as
- the default value. Otherwise the default value is True on Windows and False
- on every other platform.
-
-.. option:: compile_flags="<list-of-args>"
-
- Specify additional compile flags as a space delimited string.
- Note: This options should not be used to change the standard version used.
-
-.. option:: link_flags="<list-of-args>"
-
- Specify additional link flags as a space delimited string.
-
.. option:: debug_level=<level>
**Values**: 0, 1
diff --git a/libcxx/utils/libcxx/test/target_info.py b/libcxx/utils/libcxx/test/target_info.py
index 5782fc53dca0..3197276ffa5b 100644
--- a/libcxx/utils/libcxx/test/target_info.py
+++ b/libcxx/utils/libcxx/test/target_info.py
@@ -33,7 +33,6 @@ def is_darwin(self):
def add_cxx_compile_flags(self, flags): pass
def add_cxx_link_flags(self, flags): pass
def allow_cxxabi_link(self): return True
- def use_lit_shell_default(self): return False
def add_path(self, dest_env, new_path):
if not new_path:
@@ -210,12 +209,6 @@ class WindowsLocalTI(DefaultTargetInfo):
def __init__(self, full_config):
super(WindowsLocalTI, self).__init__(full_config)
- def use_lit_shell_default(self):
- # Default to the internal shell on Windows, as bash on Windows is
- # usually very slow.
- return True
-
-
def make_target_info(full_config):
default = "libcxx.test.target_info.LocalTI"
info_str = full_config.get_lit_conf('target_info', default)
More information about the libcxx-commits
mailing list