robotology / ycm-cmake-modules

YCM (YCM CMake modules) is a collection of various useful CMake modules.
http://robotology.github.io/ycm-cmake-modules
Other
52 stars 23 forks source link

CI Failure with CMake 3.26 #428

Closed traversaro closed 1 year ago

traversaro commented 1 year ago

Error:

CMake Error at /home/runner/work/ycm/ycm/tests/RunCMake/RunCMake.cmake:135 (message):
  IncludeUrl_QUIET - FAILED:

  stdout does not match that expected.

  Expected stdout to match:

   expect-out> -- Configuring done
   expect-out> -- Generating done
   expect-out> -- Build files have been written to: .*/[Tt]ests/RunCMake/IncludeUrl/IncludeUrl_QUIET-build

  Actual stdout:

   actual-out> Not searching for unused variables given on the command line.
   actual-out> -- Configuring done (0.0s)
   actual-out> -- Generating done (0.0s)
   actual-out> -- Build files have been written to: /home/runner/work/ycm/ycm/build/tests/RunCMake/IncludeUrl/IncludeUrl_QUIET-build

  Actual stderr:

   actual-err> 

Call Stack (most recent call first):
  /home/runner/work/ycm/ycm/tests/RunCMake/IncludeUrl/RunCMakeTest.cmake:5 (run_cmake)

It seems just a golden result test, that however changed due to the change of output in CMake. I think it would be too difficult to mantain this kind of test for different version of CMake with different outputs, so let's remove it.