CMake

WarnUninitialized

command_line: /Users/runner/work/nightly-builds/nightly-builds/build/bin/ctest "--build-and-test" "/Users/runner/work/nightly-builds/nightly-builds/Tests/VariableUsage" "/Users/runner/work/nightly-builds/nightly-builds/build/Tests/WarnUninitialized" "--build-generator" "Ninja" "--build-makeprogram" "/opt/homebrew/bin/ninja" "--build-noclean" "--build-project" "WarnUninitialized" "--build-options" "--warn-uninitialized"

working_directory: "./Tests"

Processors: 1

Execution Time: 1.007

Completion Status: Completed

Environment: #CTEST_RESOURCE_GROUP_COUNT=

Pass Reason: Required regular expression found. Regex=[uninitialized variable 'USED_VARIABLE']

stdout:

Internal cmake changing into directory: /Users/runner/work/nightly-builds/nightly-builds/build/Tests/WarnUninitialized
======== CMake output     ======
Warn about uninitialized values.
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

The C compiler identification is AppleClang 16.0.0.16000026
The CXX compiler identification is AppleClang 16.0....
[This part of the test output was removed since it exceeds the threshold of 1024 bytes.]
Status: passed
Loading...