1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/tools
Thomas Preud'homme da638ff6f7 [test] Use system locale for mri-utf8.test
Summary:
llvm-ar's mri-utf8.test test relies on the en_US.UTF-8 locale to be
installed for its last RUN line to work. If not installed, the unicode
string gets encoded (interpreted) as ascii which fails since the most
significant byte is non zero. This commit changes the test to only rely
on the system being able to encode the pound sign in its default
encoding (e.g. UTF-16 for Microsoft Windows) by always opening the file
via input/output redirection. This avoids forcing a given locale to be
present and supported. A Byte Order Mark is also added to help
recognizing the encoding of the file and its endianness. Finally the
XFAIL on system-darwin is removed since the test actually passes fine on
Mac OS X and XFAIL was only added because it failed before.

Reviewers: gbreynoo, MaskRay, rupprecht, JamesNagurne, jfb

Subscribers: dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68472
2019-11-04 15:25:45 +00:00
..
dsymutil [dsymutil] Second attempt to fix dsymutil tests on non-darwin platforms 2019-11-01 21:07:40 -07:00
gold Fix check in tools/gold/X86/strip_names.ll regarding unnamed args 2019-08-08 12:11:13 +00:00
llvm-ar [test] Use system locale for mri-utf8.test 2019-11-04 15:25:45 +00:00
llvm-as Make llvm-as --help great again 2019-05-27 08:24:06 +00:00
llvm-cfi-verify
llvm-config
llvm-cov Revert "[llvm-cov] Add option to whitelist filenames" 2019-10-29 22:38:38 -07:00
llvm-cvtres [COFF] Add a ResourceSectionRef method for getting resource contents 2019-08-30 06:55:49 +00:00
llvm-cxxdump [llvm/Object] - Make ELFObjectFile::getRelocatedSection return Expected<section_iterator> 2019-10-21 11:06:38 +00:00
llvm-cxxfilt [binutils] Add response file option to help and docs 2019-06-21 11:49:20 +00:00
llvm-cxxmap Fix non-portable GNU diff option 2019-10-23 11:19:01 -04:00
llvm-diff
llvm-dlltool [test] [llvm-dlltool] Improve test strictness a little. NFC. 2019-09-02 13:28:21 +00:00
llvm-dwarfdump [llvm/Object] - Make ELFObjectFile::getRelocatedSection return Expected<section_iterator> 2019-10-21 11:06:38 +00:00
llvm-dwp Remove some unnecessary REQUIRES: shell lines 2019-09-10 00:06:52 +00:00
llvm-elfabi [Object/ELF.h] - Improve error reporting. 2019-07-05 11:28:49 +00:00
llvm-exegesis [llvm-exegesis] Show noise cluster in analysis output. 2019-10-11 11:33:18 +00:00
llvm-extract [llvm-extract] Expose the group extraction feature of the BlockExtractor 2019-04-29 16:14:03 +00:00
llvm-ifs [llvm-ifs] Improving detection of PlatformKind from triple for TBD generation. 2019-09-06 19:59:59 +00:00
llvm-isel-fuzzer [lit][tests]Add feature libcxx-used and use it in llvm-*-fuzzer tests 2019-05-14 13:54:33 +00:00
llvm-lib [llvm-lib] Detect duplicate input files 2019-10-02 06:41:52 +00:00
llvm-lipo [llvm-lipo] Add support for -arch 2019-09-27 22:33:18 +00:00
llvm-lit
llvm-locstats Reland "[utils] Implement the llvm-locstats tool" 2019-10-02 07:00:01 +00:00
llvm-lto BitStream reader: propagate errors 2019-06-26 19:50:12 +00:00
llvm-lto2 Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
llvm-mc [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
llvm-mca [mca] Fix test case (NFC) 2019-10-31 16:44:52 -05:00
llvm-modextract
llvm-mt
llvm-nm [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
llvm-objcopy [llvm-objcopy] --add-symbol: address post-commit reviews of D69093 2019-10-31 09:12:06 -07:00
llvm-objdump [llvm/Object] - Make ELFObjectFile::getRelocatedSection return Expected<section_iterator> 2019-10-21 11:06:38 +00:00
llvm-opt-fuzzer [lit][tests]Add feature libcxx-used and use it in llvm-*-fuzzer tests 2019-05-14 13:54:33 +00:00
llvm-opt-report
llvm-pdbutil llvm-pdbdump: Fix several smaller issues with injected source compression handling 2019-07-17 22:59:52 +00:00
llvm-profdata [profile] Fourth fix for toolchains without zlib after D68351 2019-10-31 16:46:22 -07:00
llvm-rc [llvm-readobj] Print the resource type textually for .res files 2019-08-29 08:59:31 +00:00
llvm-readobj [llvm-readobj] Change errors to warnings for symbol section name dumping 2019-11-04 12:04:04 +00:00
llvm-size [yaml2obj, obj2yaml] - Add support for SHT_NOTE sections. 2019-10-25 13:25:56 +03:00
llvm-split
llvm-strings [llvm-strings][test] Merge two closely related tests 2019-09-02 11:42:30 +00:00
llvm-symbolizer [Symbolize] Use the local MSVC C++ demangler instead of relying on dbghelp. NFC. 2019-10-16 20:38:44 +00:00
llvm-xray/X86
lto [llvm-nm][llvm-readelf] Avoid single-dash -long-option in tests 2019-04-27 16:12:14 +00:00
obj2yaml [yaml2obj/obj2yaml] - Add support for SHT_GNU_HASH section. 2019-10-31 12:25:37 +03:00
opt-viewer
sancov Revert 374629 "[sancov] Accommodate sancov and coverage report server for use under Windows" 2019-10-12 05:23:43 +00:00
sanstats
yaml2obj [llvm-readobj] Change errors to warnings for symbol section name dumping 2019-11-04 12:04:04 +00:00