Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
908ac6f
Update llvm-project main.
StephanTLavavej Nov 17, 2023
fd211bb
Add substitutions.
StephanTLavavej Nov 16, 2023
74b1084
After LLVM-73541, use SPACE_LIST.
StephanTLavavej Nov 28, 2023
cb18af6
Add has-64-bit-atomics to DEFAULT_FEATURES as we always support std::…
StephanTLavavej Nov 30, 2023
3ed6f1c
float_h.pass.cpp was renamed to float_h.compile.pass.cpp by https://g…
StephanTLavavej Dec 2, 2023
1f1c0c0
Remove skips for "unexpectedly passed" tests, plus tests that have be…
StephanTLavavej Nov 18, 2023
7d3eb77
Some tests now pass for one compiler but not the other.
StephanTLavavej Dec 3, 2023
07b8d9f
default_initializable.compile.pass.cpp now fails for both compilers f…
StephanTLavavej Dec 7, 2023
4d58490
[Reported LLVM-73836] Skip warning C5101 failures.
StephanTLavavej Nov 19, 2023
ffa0e6f
[Reported LLVM-73849] Streaming out floating-point sys_time and local…
StephanTLavavej Nov 24, 2023
f9db02c
[Reported LLVM-74221] nasty_char_traits::move is incompatible with co…
StephanTLavavej Dec 3, 2023
24831ef
[Reported LLVM-74756] overload_compare_iterator doesn't support its c…
StephanTLavavej Dec 7, 2023
d41c5ae
Skip tests for missing features in MSVC's STL.
StephanTLavavej Nov 19, 2023
fe39510
Skip a feature-test macro test for a feature that libc++ hasn't imple…
StephanTLavavej Nov 21, 2023
e861649
Skip tests that inherently involve missing MSVC compiler features.
StephanTLavavej Nov 30, 2023
9eb8fcc
Skip tests that are affected by C1XX compiler bugs.
StephanTLavavej Nov 30, 2023
a3f3bcb
Skip tests that are affected by UCRT bugs.
StephanTLavavej Dec 7, 2023
54ad056
Skip tests that are affected by STL bugs.
StephanTLavavej Dec 3, 2023
ea8e239
Skip tests that are affected by VCRuntime bugs.
StephanTLavavej Dec 8, 2023
c2700ed
Skip tests for likely STL bugs.
StephanTLavavej Dec 6, 2023
f7abef5
Skip the Standard Library Modules tests which would need special mach…
StephanTLavavej Dec 3, 2023
bdc62b0
Skip tests affected by the ASAN new_handler bugs.
StephanTLavavej Dec 8, 2023
ad59766
Skip tests that haven't been fully analyzed.
StephanTLavavej Nov 24, 2023
0decf4b
Cleanup: Partially analyze the skipped CTAD tests.
StephanTLavavej Dec 8, 2023
1c97ee0
Cleanup: Pre-existing duplication.
StephanTLavavej Dec 8, 2023
0e9ba20
Cleanup: Move version.version.compile.pass.cpp to the "known upstream…
StephanTLavavej Dec 8, 2023
5262dad
Cleanup: LLVM-58192 was fixed on 2022-10-17.
StephanTLavavej Dec 8, 2023
bd8ddb1
Cleanup: libc++ implemented P2505R5 "Monadic Functions for std::expec…
StephanTLavavej Dec 8, 2023
545ad65
Cleanup: libc++ implemented P2273R3 "constexpr unique_ptr", but this …
StephanTLavavej Dec 8, 2023
09db9f8
Cleanup: Move the filesystem tests from "upstream likely won't fix" t…
StephanTLavavej Dec 9, 2023
bf24fab
Cleanup: Consolidate "Too many constexpr operations" from the "known …
StephanTLavavej Dec 9, 2023
a5aff40
Cleanup: ranges_partial_sort_copy.pass.cpp was marked as FAIL for all…
StephanTLavavej Dec 9, 2023
4afbdb1
Cleanup: Move from "not analyzed" to "missing STL features", P0533R9 …
StephanTLavavej Dec 9, 2023
20e9090
Cleanup: Partially analyze test failures. ("Not analyzed" isn't total…
StephanTLavavej Dec 9, 2023
17f57b3
Cleanup: Consolidate sections.
StephanTLavavej Dec 9, 2023
0683022
Cleanup: List libc++ missing features contiguously and sort them.
StephanTLavavej Dec 9, 2023
361519e
Cleanup: Add VSO bug numbers and sort.
StephanTLavavej Dec 9, 2023
2321b94
Cleanup: Sort STL bugs.
StephanTLavavej Dec 9, 2023
05d2229
Update skips after LLVM-66033 partially implemented P2770R0.
StephanTLavavej Dec 13, 2023
b3c9635
Use SKIPPED for `// XFAIL: msvc` tests that compile for ARM and ARM64.
StephanTLavavej Dec 15, 2023
d17b748
Go back to SKIPPED for the big group of filesystem tests.
StephanTLavavej Dec 15, 2023
56634ee
Fix MSVC-internal failures.
StephanTLavavej Dec 15, 2023
e8127f1
Consolidate test_format_context.h skips.
StephanTLavavej Dec 15, 2023
5064eca
Group together bogus tests involving to_address().
StephanTLavavej Dec 15, 2023
43a1cae
Add an explanation of the month_day_last failure.
StephanTLavavej Dec 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm-project
1,100 changes: 662 additions & 438 deletions tests/libcxx/expected_results.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/libcxx/lit.site.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ config.suffixes = ['[.]pass[.]cpp$', '[.]fail[.]cpp$']
config.test_exec_root = '@LIBCXX_TEST_OUTPUT_DIR@'
config.test_format = stl.test.format.LibcxxTestFormat()
config.test_source_root = '@LIBCXX_SOURCE_DIR@/test'
config.substitutions.append(('%{cxx_std}', ''))

lit_config.expected_results = getattr(lit_config, 'expected_results', dict())
lit_config.include_dirs = getattr(lit_config, 'include_dirs', dict())
Expand Down
1 change: 1 addition & 0 deletions tests/std/lit.site.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ config.name = 'std'
config.suffixes = ['test[.]cpp$', 'test[.]compile[.]pass[.]cpp$']
config.test_exec_root = "@STD_TEST_OUTPUT_DIR@"
config.test_format = stl.test.format.STLTestFormat()
config.substitutions.append(('%{cxx_std}', ''))

lit_config.expected_results = getattr(lit_config, 'expected_results', dict())
lit_config.include_dirs = getattr(lit_config, 'include_dirs', dict())
Expand Down
1 change: 1 addition & 0 deletions tests/tr1/lit.site.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ config.name = 'tr1'
config.suffixes = ['test[.]cpp$']
config.test_exec_root = "@TR1_TEST_OUTPUT_DIR@"
config.test_format = stl.test.format.STLTestFormat()
config.substitutions.append(('%{cxx_std}', ''))

lit_config.expected_results = getattr(lit_config, 'expected_results', dict())
lit_config.include_dirs = getattr(lit_config, 'include_dirs', dict())
Expand Down
6 changes: 5 additions & 1 deletion tests/utils/stl/test/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ def hasLocale(loc):
locale.setlocale(locale.LC_ALL, default_locale)

def getDefaultFeatures(config, litConfig):
DEFAULT_FEATURES = [Feature(name='msvc'), Feature(name='windows')]
DEFAULT_FEATURES = [
Feature(name='has-64-bit-atomics'),
Feature(name='msvc'),
Feature(name='windows'),
]
locales = {
'en_US.UTF-8': ['en_US.UTF-8', 'en_US.utf8', 'English_United States.1252'],
'fr_FR.UTF-8': ['fr_FR.UTF-8', 'fr_FR.utf8', 'French_France.1252'],
Expand Down
13 changes: 11 additions & 2 deletions tests/utils/stl/test/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,18 @@ def _parseTest(self):
lit.TestRunner.ParserKind.LIST,
initial_value=fileDependencies),
lit.TestRunner.IntegratedTestKeywordParser('ADDITIONAL_COMPILE_FLAGS:',
lit.TestRunner.ParserKind.LIST,
lit.TestRunner.ParserKind.SPACE_LIST,
initial_value=additionalCompileFlags)
]

for feature in self.config.available_features:
parser = lit.TestRunner.IntegratedTestKeywordParser(
"ADDITIONAL_COMPILE_FLAGS({}):".format(feature),
lit.TestRunner.ParserKind.SPACE_LIST,
initial_value=additionalCompileFlags,
)
parsers.append(parser)

lit.TestRunner.parseIntegratedTestScript(self, additional_parsers=parsers, require_script=False)
self.compileFlags.extend(additionalCompileFlags)
self.fileDependencies.extend(fileDependencies)
Expand Down Expand Up @@ -214,6 +222,7 @@ def _handleEnvlst(self, litConfig):

if ('clang'.casefold() in os.path.basename(cxx).casefold()):
self._addCustomFeature('clang')
self._addCustomFeature('gcc-style-warnings')

targetArch = litConfig.target_arch.casefold()
if (targetArch == 'x64'.casefold()):
Expand All @@ -230,7 +239,7 @@ def _handleEnvlst(self, litConfig):
# nvcc only supports targeting x64
self.requires.append('x64')
else:
self._addCustomFeature('cl')
self._addCustomFeature('cl-style-warnings')

self.cxx = os.path.normpath(cxx)
return None
Expand Down