https://github.com/Kitware/CMake
Revision a4ec24269b32a28104e1d5681e718024b28bb4e7 authored by Brad King on 10 June 2011, 13:29:30 UTC, committed by Brad King on 10 June 2011, 13:52:18 UTC
When add_test(NAME) is called without the CONFIGURATIONS argument then the test is intended to run in any configuration. In multi-config generators like the VS IDE and Xcode tests created by add_test(NAME) can only be run when testing a known configuration (otherwise there is no way to generate the test command line). If no test command line is known for a particular configuration, or if no configuration is given to ctest, report the test as not run instead of silently skipping it. Also fix CMake's own TestsWorkingDirectory test invocation to correct a previously silent failure exposed by this change.
1 parent 77ddb6a
Tip revision: a4ec24269b32a28104e1d5681e718024b28bb4e7 authored by Brad King on 10 June 2011, 13:29:30 UTC
CTest: Report tests not run due to unknown configuration
CTest: Report tests not run due to unknown configuration
Tip revision: a4ec242
File | Mode | Size |
---|---|---|
Docs | ||
Example | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 516 bytes |
CMakeCPack.cmake | -rw-r--r-- | 5.5 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 2.7 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 25.3 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CTestConfig.cmake | -rw-r--r-- | 1.0 KB |
CTestCustom.cmake.in | -rw-r--r-- | 2.8 KB |
CTestCustom.ctest.in | -rw-r--r-- | 145 bytes |
ChangeLog.manual | -rw-r--r-- | 61.1 KB |
ChangeLog.txt | -rw-r--r-- | 2.5 MB |
CompileFlags.cmake | -rw-r--r-- | 2.4 KB |
Copyright.txt | -rw-r--r-- | 2.6 KB |
DartConfig.cmake | -rw-r--r-- | 809 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
Readme.txt | -rw-r--r-- | 1.9 KB |
bootstrap | -rwxr-xr-x | 51.7 KB |
cmake.1 | -rw-r--r-- | 3.6 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 968 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.7 KB |
Computing file changes ...