summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/ProcessorCountTest.cmake.in
Commit message (Collapse)AuthorAgeFilesLines
* ProcessorCount: Use ERROR_QUIET with execute_process (#11302)David Cole2011-03-181-3/+10
| | | | | | | | | | | | | | | | | 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.
* ProcessorCount: Test fails if count is 0 (#11302)David Cole2011-03-151-4/+5
| | | | It also fails if count is not a decimal integer.
* ProcessorCount test: more output, do not fail. (#11302)David Cole2011-03-151-1/+18
| | | | | | More dev work remains to be done here. Removing test failure condition until that dev work is complete, so it does not mask or hide other, more important failures, on the dashboard.
* Compare ProcessorCount to SystemInformation count. (#11302)David Cole2011-03-151-3/+37
| | | | | | Maximize output to gather data on the dashboards. Only FATAL_ERROR out once at the bottom if an error occurred earlier.
* Add ProcessorCount support for QNX via pidin. (#11302)David Cole2011-03-151-1/+5
| | | | | Thanks to Rolf Eike Beer <eike@sf-mail.de> for the code snippet parsing the pidin output.
* Add module ProcessorCount.cmake (#11302)Michael Wild2011-03-151-0/+9
Credit goes to David Cole ( http://www.kitware.com/blog/home/post/63 ). Also add a script-based test of the new module. Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>