[libc++] Clean up some outdated documentation about running libc++ tests

The documentation is still awfully outdated, but it's a bit better at least.
This commit is contained in:
Louis Dionne 2020-07-09 13:35:01 -04:00
parent f8f259ce4a
commit b785396525
2 changed files with 5 additions and 28 deletions

View File

@ -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

View File

@ -33,7 +33,6 @@ class DefaultTargetInfo(object):
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)