CMake/Tests
Brad King 24f0848836 Tests: Update expected results for ninja post-1.12 development
Account for changes to upstream ninja:

* commit `5d93f2da28` (Add exit code to the failed target, 2024-12-03)
* commit `311bf93416` (Propagate jobs' exit codes to the ninja's exit code,
                       2024-12-03)
2025-01-16 08:14:25 -05:00
..
AliasTarget
Architecture Tests/Architecture: Have test support Xcode 10+ 2024-04-29 14:46:05 -07:00
ArgumentExpansion
Assembler OrangeC: Add support for OrangeC compiler 2023-09-25 12:27:29 -04:00
BuildDepends Tests: Update BuildDepends test for VS 17.10 2024-05-30 14:23:47 -04:00
BundleGeneratorTest
BundleTest
BundleUtilities
CFBundleTest
CheckCompilerRelatedVariables
CheckSourceTree
CMakeCommands Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CMakeGUI cmake-gui: Suppress MSVC deprecation warnings from Qt headers 2024-05-30 14:23:47 -04:00
CMakeLib Tests: Build testUVProcessChainHelper with WIN32_LEAN_AND_MEAN 2024-02-27 14:36:40 -05:00
CMakeOnly Drop Visual Studio 9 2008 generator 2024-05-08 10:37:34 -04:00
CMakeTestAllGenerators
CMakeTests file(): TOUCH, TOUCH_NOCREATE and MAKE_DIRECTORY accept empty lists 2024-05-31 22:55:20 +10:00
CoberturaCoverage
CommandLength Merge topic 'ci-test-CommandLength' 2024-02-16 09:17:59 -05:00
CommandLineTest Tests/CommandLineTest: Replace exec_program() with execute_process() 2023-07-24 17:23:33 -04:00
CompatibleInterface GenEx: Fix COMPATIBLE_INTERFACE_ evaluation outside usage requirements 2024-04-11 18:35:40 -04:00
CompileCommandOutput
CompileDefinitions Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CompileFeatures Tests/CompileFeatures: Cover hip_std_## meta-features 2024-05-28 14:36:50 -04:00
CompileOptions GenEx: Add generator expr. for CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT 2024-05-22 16:43:33 +02:00
Complex Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
ComplexOneConfig Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
ConfigSources Fix per-config sources in multi-config generators when first config adds none 2023-11-13 14:00:12 -05:00
COnly Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Contracts
CPackComponents
CPackComponentsDEB CPackDeb: dpkg-shlibdeps shall consider dependency components, too 2024-05-30 16:13:46 +02:00
CPackComponentsForAll codespell: Fix typos 2023-11-17 09:58:21 -05:00
CPackComponentsPrefix
CPackInnoSetupGenerator Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CPackNSISGenerator CPack/NSIS: Fix matching of reserved component names 2024-08-19 14:25:31 -04:00
CPackTestAllGenerators
CPackUseDefaultVersion
CPackUseProjectVersion
CPackUseShortProjectVersion
CrossCompile
CSharpLinkFromCxx
CSharpLinkToCxx
CSharpOnly
CSharpWin32GenEx
CTestConfig
CTestCoverageCollectGCOV
CTestLimitDashJ
CTestScriptMode
CTestTest
CTestTest2
CTestTestBadExe
CTestTestBadGenerator
CTestTestChecksum
CTestTestCostSerial
CTestTestCrash
CTestTestCycle
CTestTestDepends
CTestTestEmptyBinaryDirectory
CTestTestFdSetSize
CTestTestLabelRegExp
CTestTestLaunchers
CTestTestMissingDependsExe
CTestTestParallel
CTestTestRunScript
CTestTestScheduler
CTestTestSerialInDepends
CTestTestStopTime
CTestTestSubdir
CTestTestTimeout
CTestTestUpload
CTestTestVerboseOutput Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Cuda FindCUDAToolkit: Use CUDA compiler path even when CUDA lang not enabled 2024-05-29 14:39:29 -04:00
CudaOnly Tests: Ensure CUDA bin2c output is null terminated 2024-10-18 11:05:10 -04:00
CustComDepend
CustomCommand add_custom_command: Allow OUTPUT filenames containing a hash '#' character 2024-05-15 13:27:46 -04:00
CustomCommandByproducts
CustomCommandWorkingDirectory Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CustomTransitiveProperties GenEx: Add support for custom transitive link properties 2024-05-21 09:22:52 -04:00
CxxDialect
CxxOnly
CxxSubdirC
DelphiCoverage
Dependency Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
DoubleProject Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
EmptyDepends
EmptyLibrary
EmptyProperty
Environment
ExportImport Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage 2024-07-05 13:16:47 -04:00
ExternalOBJ Tests/ExternalOBJ: Replace exec_program() with execute_process() 2023-07-24 17:59:24 -04:00
ExternalProject
ExternalProjectLocal
ExternalProjectSourceSubdir
ExternalProjectSourceSubdirNotCMake
ExternalProjectSubdir
ExternalProjectUpdate ExternalProject: Avoid reconfigure when updates are disconnected 2023-05-23 22:39:44 +10:00
FindALSA Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindBacktrace Tests/FindBacktrace: Fix compilation as C90 2024-04-17 13:14:11 -04:00
FindBLAS Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindBoost
FindBZip2 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindCups Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindCURL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindDevIL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindDoxygen
FindEnvModules
FindEXPAT Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindFontconfig Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindFreetype Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGDAL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGIF Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGit
FindGLEW
FindGLUT Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGnuTLS Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGSL Tests: Update tests to run in multi-config generators 2023-09-22 09:30:52 -04:00
FindGTest
FindGTK2 Tests: fix calling gdk_init() 2024-04-17 07:34:57 +02:00
FindHDF5 Tests: Extend FindHDF5 tests to link and run executables 2023-03-30 15:05:59 -04:00
FindIconv
FindICU
FindImageMagick Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindIntl
FindJasper ci: Enable FindJasper test on Fedora 2024-04-10 12:21:13 -04:00
FindJNI
FindJPEG Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindJsonCpp
FindLAPACK Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibArchive
FindLibinput Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibLZMA Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibRHash Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibUV Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibXml2 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibXslt Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLTTngUST
FindMatlab Merge topic 'FindMatlab-test-versions_checks' 2024-06-05 09:25:56 -04:00
FindMPI Tests: Add FindMPI test environment modification option 2023-03-29 17:18:30 -04:00
FindODBC Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindOpenACC ci: Enable FindOpenACC test for each language independently 2024-04-24 16:46:11 -04:00
FindOpenAL Tests: Avoid printing function address in FindOpenAL.Test 2023-05-22 17:14:54 -04:00
FindOpenCL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindOpenGL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindOpenMP FindOpenMP: Add option to control OpenMP runtime with MSVC 2024-05-01 08:25:14 -04:00
FindOpenSP
FindOpenSSL Tests: Update tests to run in multi-config generators 2023-09-22 09:30:52 -04:00
FindPackageModeMakefileTest
FindPackageTest Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindPatch
FindPNG Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindPostgreSQL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindProtobuf
FindPython FindPython: Add support for free threaded python 2024-06-04 18:14:35 +02:00
FindRuby
FindSDL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindSQLite3 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindThreads
FindTIFF Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindVulkan Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations 2024-02-07 10:04:16 -05:00
FindwxWidgets
FindX11 FindX11: Remove HAS_X11_xcb check from xcb tests 2023-04-28 14:54:35 -07:00
FindXalanC
FindXercesC
ForceInclude
Fortran Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FortranC
FortranModules Merge topic 'ninja-fortran-include' 2024-03-20 09:55:48 -04:00
FortranOnly Tests: Enable CMP0091/CMP0141 for MSVC settings in FortranOnly test 2023-10-02 18:52:01 -04:00
Framework
FunctionTest
Fuzzing
GeneratorExpression GeneratorExpression: Add $<QUOTE> generator expression 2024-02-14 14:23:18 -05:00
GhsMulti Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
GoogleTest GoogleTest: Add DEF_SOURCE_LINE property to gtest_add_tests 2024-03-11 22:04:31 +00:00
HIP Tests: Update HIP.MathFunctions case for nodiscard enforcement 2023-11-17 09:58:21 -05:00
ImportedSameName
IncludeDirectories Drop Visual Studio 9 2008 generator 2024-05-08 10:37:34 -04:00
IncludeDirectoriesCPATH
InstallMode
InterfaceLibrary
InterfaceLinkLibraries
InterfaceLinkLibrariesDirect
iOSNavApp
ISPC Tests: Teach ISPC tests to run on macOS arm64 host 2023-05-10 10:04:48 -04:00
JacocoCoverage
Java
JavaExportImport Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
JavaJavah
JavaNativeHeaders
JavascriptCoverage
JCTest
Jump
LibName Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
LinkDirectory
LinkFlags
LinkLanguage Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
LinkLine Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
LinkLineOrder Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
LinkStatic
LoadCommand Tests: Improve C compatibility of LoadCommand tests 2024-01-25 14:35:01 -05:00
LoadCommandOneConfig Tests: Improve C compatibility of LoadCommand tests 2024-01-25 14:35:01 -05:00
MacroTest
MacRuntimePath
MakeClean
MathTest
MFC
MissingInstall
MissingSourceFile
Module Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
ModuleDefinition
MSManifest
MSVCDebugInformationFormat CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend 2024-01-22 09:33:54 -05:00
MSVCRuntimeLibrary VS: Suppress MSBuild default settings affected by UseDebugLibraries 2024-02-19 10:40:40 -05:00
MumpsCoverage
NasmOnly ASM_NASM: Improve support for standalone usage 2024-03-04 13:09:58 -05:00
NewlineArgs
ObjC
ObjCXX
ObjectLibrary cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources 2023-11-14 14:50:08 -05:00
OutDir OrangeC: Add support for OrangeC compiler 2023-09-25 12:27:29 -04:00
OutName
OutOfBinary Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
OutOfSource
PDBDirectoryAndName Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
PerConfig Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Plugin
Policy0002
PolicyScope Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
PositionIndependentTargets
PrecompiledHeader Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
PreOrder
Preprocess
Properties
PythonCoverage
Qt4And5Automoc
Qt4Autogen
Qt4Deploy
Qt4Targets
Qt5Autogen
Qt6Autogen
QtAutogen Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE 2024-03-14 09:05:06 -04:00
QtAutomocNoQt
ReturnTest
RunCMake Tests: Update expected results for ninja post-1.12 development 2025-01-16 08:14:25 -05:00
RuntimePath Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SBCS
SetLang Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Simple Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SimpleCOnly Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SourceFileIncludeDirProperty Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SourceFileProperty Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SourceGroups Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SourcesProperty
StagingPrefix
StringFileTest
SubDir Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SubDirSpaces Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SubProject
SwiftMix Tests: Fix SwiftMix tests' runtime library selection on Windows 2024-01-24 14:44:40 -05:00
SwiftMixLib Tests: Fix SwiftMix tests' runtime library selection on Windows 2024-01-24 14:44:40 -05:00
SwiftMixPCH Xcode: Fix PCH support with Swift & C++ 2024-01-30 12:50:40 -05:00
SwiftOnly Swift: Use per-config module file locations in multi-config generators 2024-05-24 15:23:41 -07:00
SystemInformation
TargetName
TestDriver
Testing
TestsWorkingDirectory Tests: Use real directory in TestsWorkingDirectory 2024-02-27 14:36:40 -05:00
TryCompile Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Unset Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
UseSWIG Tests: Add "Fortran" test label 2024-01-31 11:27:53 -05:00
VariableUsage
Visibility Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
VSAndroid Tests/VSAndroid: Update for VS 17 2024-02-29 11:59:05 -05:00
VSExcludeFromDefaultBuild
VSExternalInclude
VSGNUFortran Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
VSManagedCustomCommand
VSMARMASM
VSMASM
VSMidl
VSNASM
VSProjectInSubdir
VSResource
VSResourceNinjaForceRSP
VSWindowsFormsResx
VSWinStorePhone
VSXaml
WarnUnusedCliUnused
WatcomRuntimeLibrary
Wrapping
X11 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
XCTest Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
.NoDartCoverage
bootstrap.bat.in
BootstrapTest.cmake
CheckFortran.cmake
CheckSwift.cmake
CMakeBuildTest.cmake.in
CMakeCopyright.cmake
CMakeInstall.cmake
CMakeLists.txt Tests: Restore suppression of xcodebuild error with Xcode Command-Line Tools 2024-07-31 15:43:04 -04:00
CTestUpdateBZR.cmake.in
CTestUpdateCommon.cmake
CTestUpdateCVS.cmake.in codespell: Fix typos 2023-11-17 09:58:21 -05:00
CTestUpdateGIT.cmake.in Tests: Improve CTest.UpdateGIT robustness to user gitconfig 2024-01-17 10:11:41 -05:00
CTestUpdateGIT.sh.in
CTestUpdateHG.cmake.in
CTestUpdateP4.cmake.in
CTestUpdateSVN.cmake.in
EnforceConfig.cmake.in Tests: Allow RunCMake.MaxRecursionDepth to test public-facing default limit 2023-03-13 11:49:56 -04:00
README.rst Tests/RunCMake: Cross-reference README from main Tests/README 2024-05-23 14:36:49 -04:00
test_clean.cmake.in

CMake Tests Directory
*********************

This directory contains the CMake test suite.
See also the `CMake Source Code Guide`_.

.. _`CMake Source Code Guide`: ../Help/dev/source.rst

Many tests exist as immediate subdirectories, but some tests
are organized as follows.

* ``CMakeLib/``:
  Source code, used for tests, that links to the ``CMakeLib`` library
  defined over in ``Source/``.

* ``CMakeOnly/``:
  Deprecated.  Tests that run CMake to generate a project but not build it.
  Superseded by ``Tests/RunCMake/``.

* ``Find*/``:
  Tests for specific find modules that can only be run on machines with
  the corresponding packages installed.  They are enabled in
  ``CMakeLists.txt`` by undocumented options used on CI builds.

* ``Module/``:
  Tests for specific CMake modules.

* ``RunCMake/``:
  Tests that run CMake and/or other tools while precisely checking
  their return code and stdout/stderr content.  Useful for testing
  error cases and diagnostic output.

  See `RunCMake/README.rst`_.

.. _`RunCMake/README.rst`: RunCMake/README.rst