llvm-project/libcxx/utils
Alex Richardson 9020d28688 [libcxx][lit] Fix incorrect lambda capture in hasLocale checks
The lambda being used to check whether locales are supported was always
passing the value of alts from the last loop iteration due to the way that
python lambda captures work. Fix this by using a default argument capture.

To help debug future similar issues I also added a prefix to the config
test binary indicating which locale is being tested.
I originally found this issue when implementing a new executor that simply
collects test binaries in a given directory and was surprised to see many
additional executables other than the expected test binaries. I therefore
added the locale prefix to the test binaries and noticed that they were all
checking for cs_CZ.ISO8859-2.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D84040
2020-07-23 11:19:18 +01:00
..
ci [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
docker [libc++] Install locales in the build bot Docker images 2020-06-10 09:37:14 -04:00
gdb/libcxx Desugar class type for iterator lookup. 2020-07-14 11:37:03 -07:00
google-benchmark Harmonize Python shebang 2020-07-16 21:53:45 +02:00
libcxx [libcxx][lit] Fix incorrect lambda capture in hasLocale checks 2020-07-23 11:19:18 +01:00
symcheck-blacklists Start libc++ python cleanup and consolidation. 2017-02-09 22:53:14 +00:00
cat_files.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
generate_feature_test_macro_components.py [libc++] Require concepts support for <numbers> 2020-06-19 10:49:44 -04:00
graph_header_deps.py [libc++] Add utility to generate and display libc++'s header dependency 2020-02-15 18:47:17 -05:00
merge_archives.py [libcxx] Fix default argument for merge_archives.py -L flag 2020-07-22 18:32:34 +01:00
run.py [libcxx][lit] Simplify parsing of trailing executor arguments 2020-07-21 09:03:45 +01:00
ssh.py [libcxx][lit] Simplify parsing of trailing executor arguments 2020-07-21 09:03:45 +01:00
sym_diff.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
sym_extract.py Make the sym_diff utilities more useful. 2019-02-12 00:00:43 +00:00
sym_match.py [libcxx] As part of using inclusive language within the llvm 2020-06-19 21:37:11 -07:00