Skip to content
  • David Cole's avatar
    ProcessorCount: Use ERROR_QUIET with execute_process (#11302) · e6c27010
    David Cole authored
    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.
    e6c27010