CMake

MissingSourceFile

command_line: /Users/runner/work/nightly-builds/nightly-builds/build/bin/ctest "--build-and-test" "/Users/runner/work/nightly-builds/nightly-builds/Tests/MissingSourceFile" "/Users/runner/work/nightly-builds/nightly-builds/build/Tests/MissingSourceFile" "--build-two-config" "--build-generator" "Ninja" "--build-makeprogram" "/opt/homebrew/bin/ninja" "--build-project" "MissingSourceFile" "--build-options" "--test-command" "MissingSourceFile"

working_directory: "./Tests"

Processors: 1

Execution Time: 0.649

Completion Status: Completed

Exit Code: Completed

Environment: #CTEST_RESOURCE_GROUP_COUNT=

Exit Value: 1

Pass Reason: Required regular expression found. Regex=[CMake Error at CMakeLists.txt:3 \(add_executable\):[ ]*Cannot find source file:[ ]*DoesNotExist/MissingSourceFile.c]

stdout:

Internal cmake changing into directory: /Users/runner/work/nightly-builds/nightly-builds/build/Tests/MissingSourceFile
======== CMake output     ======
The C compiler identification is AppleClang 16.0.0.16000026
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /usr/bin/cc - skipped
Detecting C compile features
Detecting C compile features - done
Configuring done (0.5s)
CMake Error at CMakeLists.txt:3 (add_executable):
  Cannot find source file:

    DoesNotExist/MissingSourceFile.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
  .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
  .f95 .f03 .hip .ispc


CMake Error at CMakeLists.txt:3 (add_executable):
  No SOURCES given to target: MissingSourceFile


CMake Generate step failed.  Build files cannot be regenerated correctly.
======== End CMake output ======
Error: cmake execution failed
Status: passed
Loading...