meson/unittests
Paolo Bonzini 7639b70796 cmake: handle arguments in the [binaries] section of the machine file
Sometimes, the machine file can include compiler command line options,
in order to pick the correct multilib.  For example, Meson uses "$cc
--print-search-dirs" to find the library search path, where $cc is the
cc from the machine file.  Because the outputs of "gcc -m32
--print-search-dirs" and "gcc --print-search-dirs" are different, this
only works if you have

   [binaries]
   cc = ['gcc', '-m32']

in the machine file.  Right now, however, the cmake module assumes that
the compiler listed in the machine file is either a compiler, or a
"launcher" followed by the compiler.  Check if the second argument
starts with a slash (for Microsoft-like compilers) or a dash (for
everyone else), and if so presume that the CMAKE_*_COMPILER_LAUNCHER
need not be defined.
2021-10-08 20:09:43 +02:00
..
allplatformstests.py various python neatness cleanups 2021-10-04 16:29:30 -04:00
baseplatformtests.py compilers/rust: Add support for clippy 2021-09-24 18:48:48 -07:00
darwintests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
datatests.py various python neatness cleanups 2021-10-04 16:29:30 -04:00
failuretests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
helpers.py Split run_unittests.py file 2021-07-26 15:19:13 -04:00
internaltests.py various python neatness cleanups 2021-10-04 16:29:30 -04:00
linuxcrosstests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
linuxliketests.py cmake: handle arguments in the [binaries] section of the machine file 2021-10-08 20:09:43 +02:00
machinefiletests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
platformagnostictests.py Add platform agnostic tests 2021-09-21 08:28:26 -04:00
pythontests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
rewritetests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
subprojectscommandtests.py tests: when generating git repositories, make sure that pgpsign is off 2021-09-03 14:14:15 -04:00
taptests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
windowstests.py msvc: Assume UTF8 source by default 2021-09-01 19:26:36 +03:00