CMake/Tests/CMakeTests
David Cole e6c2701002 ProcessorCount: Use ERROR_QUIET with execute_process (#11302)
Also, comment out all "debugging" calls to message() that helped
us interpret the output on other platforms when running on the
dashboard clients.

Using ERROR_QUIET avoids unnecessary stderr output while calling
external tools to determine the processor count. If there's an
error parsing the output, we set the count to 0 anyhow.

Also, the test will fail on a CMake dashboard run if the count
comes back equal to 0.

Now that the code is "done"-ish, remove the debugging output.
Expect no output on stdout or stderr when calling the
ProcessorCount function from now on.
2011-03-18 14:28:24 -04:00
..
A/include ENH: Add test for new find_* command HINTS option. 2008-06-09 15:09:14 -04:00
ELF Create CMake.ELF test to cover cmELF further 2009-10-27 14:01:31 -04:00
include
CMakeLists.txt Add module ProcessorCount.cmake (#11302) 2011-03-15 15:07:30 -04:00
CMakeMinimumRequiredTest.cmake.in Add tests for uncovered bits of the math and cmake_minimum_required cmake functions. 2009-10-05 16:50:21 -04:00
CMakeMinimumRequiredTestScript.cmake Add tests for uncovered bits of the math and cmake_minimum_required cmake functions. 2009-10-05 16:50:21 -04:00
CheckCMakeTest.cmake Factor out CMake.File test result check for re-use 2009-09-16 15:09:10 -04:00
CheckSourceTreeTest.cmake.in CheckSourceTree test: read UpdateCommand from Update.xml. 2010-06-27 08:29:15 -04:00
CompilerIdVendorTest.cmake.in Add alternate per-vendor compiler id detection 2010-02-01 09:03:05 -05:00
ConfigureFile-BadArg.cmake Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
ConfigureFile-DirInput.cmake Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
ConfigureFile-DirOutput.cmake Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
ConfigureFile-Relative.cmake Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
ConfigureFileTest.cmake.in Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
DummyToolchain.cmake ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE, 2007-07-02 13:29:36 -04:00
ELFTest.cmake.in Create CMake.ELF test to cover cmELF further 2009-10-27 14:01:31 -04:00
EndStuffTest.cmake.in Increase coverage. Intentionally trigger error conditions. Call all the else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile. 2009-10-06 14:45:19 -04:00
EndStuffTestScript.cmake Increase coverage. Intentionally trigger error conditions. Call all the else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile. 2009-10-06 14:45:19 -04:00
ExecuteScriptTests.cmake Increase coverage. Intentionally trigger error conditions. Call all the else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile. 2009-10-06 14:45:19 -04:00
File-Copy-BadArg.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-BadPerm.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-BadRegex.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-EarlyArg.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-LateArg.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-NoDest.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-NoFile.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
FileDownloadInput.png Improve FILE(DOWNLOAD) and ExternalProject. 2010-05-27 12:21:56 -04:00
FileDownloadTest.cmake.in Make file DOWNLOAD less noisy (#11761) 2011-02-09 13:22:32 -05:00
FileTest.cmake.in Implement file(UPLOAD (#11286) 2011-02-25 17:26:34 -05:00
FileTestScript.cmake Implement file(UPLOAD (#11286) 2011-02-25 17:26:34 -05:00
FileUploadTest.cmake.in Implement file(UPLOAD (#11286) 2011-02-25 17:26:34 -05:00
FindBaseTest.cmake.in Fix spelling errors reported by Lintian. 2010-07-13 09:41:37 -04:00
GetFilenameComponentRealpathTest.cmake.in Fix get_filename_component(... REALPATH) work dir 2009-11-18 10:56:40 -05:00
GetPrerequisitesTest.cmake.in Fixes to GetPrerequisites for cygwin 2010-10-27 17:23:00 -04:00
IfTest.cmake.in Test if() boolean coersion and CMP0012 behaviors 2009-10-27 09:08:12 -04:00
ImplicitLinkInfoTest.cmake.in Detect object files in implicit link information 2010-12-09 17:07:34 -05:00
IncludeTest.cmake.in Add automatic variable CMAKE_CURRENT_LIST_DIR(dir of CMAKE_CURRENT_LIST_FILE) 2010-09-28 22:10:47 +02:00
ListTest.cmake.in ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove duplicates from a list (keep the ordering) 2008-03-12 17:02:10 -04:00
MathTest.cmake.in Add tests for uncovered bits of the math and cmake_minimum_required cmake functions. 2009-10-05 16:50:21 -04:00
MathTestScript.cmake Add tests for uncovered bits of the math and cmake_minimum_required cmake functions. 2009-10-05 16:50:21 -04:00
MessageTest.cmake.in ENH: Teach message() how to display warnings 2009-03-06 10:04:06 -05:00
MessageTestScript.cmake ENH: Teach message() how to display warnings 2009-03-06 10:04:06 -05:00
ModuleNoticesTest.cmake.in ModuleNoticesTest: Do not require "Kitware" copyright 2010-08-17 09:23:35 -04:00
ProcessorCountTest.cmake.in ProcessorCount: Use ERROR_QUIET with execute_process (#11302) 2011-03-18 14:28:24 -04:00
SeparateArgumentsTest.cmake.in ENH: Teach separate_arguments() to parse commands 2009-07-14 10:15:47 -04:00
StringTest.cmake.in Add a string(FIND) sub-command (#11795) 2011-02-15 13:17:51 -05:00
StringTestScript.cmake Merge branch 'fix-2828-more-info-in-script-mode' into add-STRING-subcommand-FIND-issue-11795 2011-02-15 13:48:37 -05:00
ToolchainTest.cmake.in BUG: fix test to work with new restrictions that cross compiling must be on 2008-09-08 20:21:35 -04:00
VariableWatchTest.cmake.in BUG: Teach VariableWatch test to check results 2009-07-24 16:57:38 -04:00
VersionTest.cmake.in ENH: Overhaul CMake version numbering 2009-03-05 15:17:07 -05:00