llvm-project/llvm/test/tools
Michal Gorny 6911324ed4 [llvm-config] Canonicalize CMake booleans to 0/1
Following the similar change to lit configuration, ensure that all CMake
booleans are canonicalized to 0/1 when being passed to llvm-config. This
fixes the incorrect interpretation of values when user passes another
value than the ON/OFF, and simplifies the code by removing unnecessary
string matching.

Furthermore, the code for --has-rtti and --has-global-isel has been
modified to print consistent values indepdently of the boolean used by
passed by the user to CMake. Sadly, the code already implicitly used
different values for the two (YES/NO for --has-rtti, ON/OFF for
--has-global-isel).

Include tests for all booleans and multi-value options in llvm-config.

Differential Revision: https://reviews.llvm.org/D28366

llvm-svn: 291593
2017-01-10 19:55:51 +00:00
..
dsymutil dsymutil/modules: Reword the warning for static libraries without module caches 2016-05-20 20:36:06 +00:00
gold Fix x86 gold tests on non-x86 targets. 2017-01-04 14:43:51 +00:00
llvm-ar test: relax the match on the timestamp 2016-07-05 01:14:53 +00:00
llvm-config [llvm-config] Canonicalize CMake booleans to 0/1 2017-01-10 19:55:51 +00:00
llvm-cov [llvm-cov] Avoid 0% when reporting something that's 0/0 2016-11-21 14:00:04 +00:00
llvm-cxxdump Fix a bug in the code of llvm-cxxdump in dumpArchive() when 2016-10-21 20:03:14 +00:00
llvm-cxxfilt llvm-cxxfilt: support reading from stdin 2016-11-13 20:43:38 +00:00
llvm-dwp dwarfdump: -summarize-types: print a short summary (unqualified type name, hash, length) of type units rather than dumping contents 2016-10-18 21:09:48 +00:00
llvm-lit
llvm-lto [LTO] Reject modules without datalayout. 2016-12-14 21:57:04 +00:00
llvm-lto2 [LTO] Reject modules without datalayout. 2016-12-14 21:57:04 +00:00
llvm-mc [Hexagon] Removing XFAIL on Hexagon target. 2015-11-09 06:15:55 +00:00
llvm-modextract llvm-modextract: Call keep() on the output stream before exiting. 2016-12-01 23:13:11 +00:00
llvm-nm llvm-nm: Print correct symbol types for init and fini sections 2016-11-23 20:17:20 +00:00
llvm-objdump [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
llvm-opt-report [llvm-opt-report] Fix context-sensitive lines where nothing happened 2017-01-07 20:21:17 +00:00
llvm-pdbdump Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
llvm-profdata [PGO] Fix bogus warning for merging empty llvm profile file 2016-10-19 22:51:17 +00:00
llvm-readobj [llvm-readobj] - Teach readobj to print PT_OPENBSD_BOOTDATA header 2016-12-06 17:55:52 +00:00
llvm-size Fix a bug with llvm-size and the -m option with multiple files not printing the file names. 2016-12-01 19:12:55 +00:00
llvm-split Preserve blockaddress use edges in the module splitter. 2016-03-31 21:55:11 +00:00
llvm-strings test: use separate input file for test 2016-11-16 04:08:46 +00:00
llvm-symbolizer Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
llvm-xray/X86 [XRay] Use regular expression for finding symbols 2017-01-10 04:32:34 +00:00
lto Fix test/tools/lto/hide-linkonce-odr.ll after r289719 2016-12-15 01:31:38 +00:00
sancov [sancov] hash prefix results in huge merge files, use shorter prefix 2016-12-21 22:09:57 +00:00
sanstats Use printf instead of "echo -e" or "echo -n". 2016-10-26 01:07:26 +00:00
yaml2obj [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00